public class LoggingEventFormattedTimestampJsonProvider extends FormattedTimestampJsonProvider<ILoggingEvent,LogstashFieldNames>
FIELD_TIMESTAMP, UNIX_TIMESTAMP_AS_NUMBER, UNIX_TIMESTAMP_AS_STRING
context
Constructor and Description |
---|
LoggingEventFormattedTimestampJsonProvider() |
Modifier and Type | Method and Description |
---|---|
protected long |
getTimestampAsMillis(ILoggingEvent event) |
getFormattedTimestamp, getPattern, getTimeZone, setFieldNames, setPattern, setTimeZone, writeTo
getFieldName, setFieldName
isStarted, prepareForDeferredProcessing, start, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public LoggingEventFormattedTimestampJsonProvider()
protected long getTimestampAsMillis(ILoggingEvent event)
getTimestampAsMillis
in class FormattedTimestampJsonProvider<ILoggingEvent,LogstashFieldNames>
Copyright © 2020. All rights reserved.