public class LoggingEventFormattedTimestampJsonProvider extends FormattedTimestampJsonProvider<ch.qos.logback.classic.spi.ILoggingEvent,LogstashFieldNames>
FIELD_TIMESTAMP, UNIX_TIMESTAMP_AS_NUMBER, UNIX_TIMESTAMP_AS_STRING
Constructor and Description |
---|
LoggingEventFormattedTimestampJsonProvider() |
Modifier and Type | Method and Description |
---|---|
protected long |
getTimestampAsMillis(ch.qos.logback.classic.spi.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
public LoggingEventFormattedTimestampJsonProvider()
protected long getTimestampAsMillis(ch.qos.logback.classic.spi.ILoggingEvent event)
getTimestampAsMillis
in class FormattedTimestampJsonProvider<ch.qos.logback.classic.spi.ILoggingEvent,LogstashFieldNames>
Copyright © 2019. All rights reserved.