Uses of Interface
net.logstash.logback.composite.JsonProvider
Packages that use JsonProvider
Package
Description
-
Uses of JsonProvider in net.logstash.logback
Methods in net.logstash.logback with parameters of type JsonProviderModifier and TypeMethodDescriptionvoidLogstashAccessFormatter.addProvider(JsonProvider<IAccessEvent> provider) voidLogstashFormatter.addProvider(JsonProvider<ILoggingEvent> provider) -
Uses of JsonProvider in net.logstash.logback.composite
Classes in net.logstash.logback.composite that implement JsonProviderModifier and TypeClassDescriptionclassAbstractFieldJsonProvider<Event extends DeferredProcessingAware>AJsonProviderthat has a configurable field name.classAbstractFormattedTimestampJsonProvider<Event extends DeferredProcessingAware,FieldNames extends LogstashCommonFieldNames> Writes the timestamp field as either: A string value formatted by aDateTimeFormatterpattern A string value representing the number of milliseconds since unix epoch (designated by specifying the pattern value as "[UNIX_TIMESTAMP_AS_STRING]") A number value of the milliseconds since unix epoch (designated by specifying the pattern value as "[UNIX_TIMESTAMP_AS_NUMBER]")classAbstractJsonProvider<Event extends DeferredProcessingAware>BaseJsonProviderthat provides default implementations for standard methods.classAbstractNestedJsonProvider<Event extends DeferredProcessingAware>AJsonProviderthat nests other providers within a subobject.classAbstractPatternJsonProvider<Event extends DeferredProcessingAware>Transforms an string containing patterns understood by PatternLayouts into JSON output.classAbstractSequenceJsonProvider<Event extends DeferredProcessingAware>Outputs an incrementing sequence number.classAbstractThreadNameJsonProvider<Event extends DeferredProcessingAware>classContextJsonProvider<Event extends DeferredProcessingAware>Writes properties from theContextinto the JSON event.classFormattedTimestampJsonProvider<Event extends DeferredProcessingAware,FieldNames extends LogstashCommonFieldNames> Deprecated.classGlobalCustomFieldsJsonProvider<Event extends DeferredProcessingAware>classLogstashVersionJsonProvider<Event extends DeferredProcessingAware>Writes a version field as a string value (by default) or a numeric value (ifLogstashVersionJsonProvider.isWriteAsInteger()is true).classSequenceJsonProvider<Event extends DeferredProcessingAware>Deprecated.useSequenceJsonProviderorSequenceJsonProviderinstead.classUuidJsonProvider<Event extends DeferredProcessingAware>Outputs random UUID as field value.Methods in net.logstash.logback.composite that return types with arguments of type JsonProviderMethods in net.logstash.logback.composite with parameters of type JsonProviderModifier and TypeMethodDescriptionvoidJsonProviders.addProvider(JsonProvider<Event> provider) voidJsonProviders.removeProvider(JsonProvider<Event> provider) -
Uses of JsonProvider in net.logstash.logback.composite.accessevent
Classes in net.logstash.logback.composite.accessevent that implement JsonProviderModifier and TypeClassDescriptionclassclassclassclassJsonProviderproducing a single JSON field with theIAccessEvent.getThreadName().classclassclassclassclassclassclassclassclassclassclassclassclass -
Uses of JsonProvider in net.logstash.logback.composite.loggingevent
Classes in net.logstash.logback.composite.loggingevent that implement JsonProviderModifier and TypeClassDescriptionclassclassLogs an exception message for a given logging event.classInclude the logging event'sILoggingEvent.getArgumentArray()in the JSON output.classclassclassclassclassclassclassJsonProviderproducing a single JSON field with theILoggingEvent.getThreadName().classclassclassclassIncludesMDCproperties in the JSON output according toMdcJsonProvider.includeMdcKeyNamesandMdcJsonProvider.excludeMdcKeyNames.classclassclassA JSON provider that, for any log event with a stack trace, adds aroot_stack_trace_elementJSON object field containing the class name and method name where the outer-most exception was thrown.classclassA JSON provider that adds astack_hashJson field on a log with a stack traceclassclassWritesMarkernames as an array to the 'tags' field.classDeprecated.UseLoggingEventThreadNameJsonProviderinstead.classclassLogs the message of the throwable associated with a given logging event, if any.classLogs the class name of the innermost cause of the throwable associated with a given logging event, if any.classLogs the message of the innermost cause of the throwable associated with a given logging event, if any.classDeprecated.useUuidJsonProviderinstead. -
Uses of JsonProvider in net.logstash.logback.encoder
Methods in net.logstash.logback.encoder with parameters of type JsonProviderModifier and TypeMethodDescriptionvoidLogstashAccessEncoder.addProvider(JsonProvider<IAccessEvent> provider) voidLogstashEncoder.addProvider(JsonProvider<ILoggingEvent> provider) -
Uses of JsonProvider in net.logstash.logback.layout
Methods in net.logstash.logback.layout with parameters of type JsonProviderModifier and TypeMethodDescriptionvoidLogstashAccessLayout.addProvider(JsonProvider<IAccessEvent> provider) voidLogstashLayout.addProvider(JsonProvider<ILoggingEvent> provider)
AbstractFormattedTimestampJsonProviderinstead