public class AccessMessageJsonProvider extends AccessEventFormattedTimestampJsonProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_MESSAGE |
FIELD_TIMESTAMP, UNIX_TIMESTAMP_AS_NUMBER, UNIX_TIMESTAMP_AS_STRINGcontext| Constructor and Description |
|---|
AccessMessageJsonProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
setFieldNames(LogstashAccessFieldNames fieldNames) |
void |
writeTo(JsonGenerator generator,
IAccessEvent event)
Writes information about the event,
to the given generator.
|
getTimestampAsMillisgetFormattedTimestamp, getPattern, getTimeZone, setPattern, setTimeZonegetFieldName, setFieldNameisStarted, prepareForDeferredProcessing, start, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextpublic static final String FIELD_MESSAGE
public void writeTo(JsonGenerator generator, IAccessEvent event) throws IOException
JsonProviderwriteTo in interface JsonProvider<IAccessEvent>writeTo in class FormattedTimestampJsonProvider<IAccessEvent,LogstashAccessFieldNames>IOExceptionpublic void setFieldNames(LogstashAccessFieldNames fieldNames)
setFieldNames in interface FieldNamesAware<LogstashAccessFieldNames>setFieldNames in class FormattedTimestampJsonProvider<IAccessEvent,LogstashAccessFieldNames>Copyright © 2020. All rights reserved.