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 TypeMethodDescriptionvoid
LogstashAccessFormatter.addProvider
(JsonProvider<IAccessEvent> provider) void
LogstashFormatter.addProvider
(JsonProvider<ILoggingEvent> provider) -
Uses of JsonProvider in net.logstash.logback.composite
Classes in net.logstash.logback.composite that implement JsonProviderModifier and TypeClassDescriptionclass
AbstractFieldJsonProvider<Event extends DeferredProcessingAware>
AJsonProvider
that has a configurable field name.class
AbstractFormattedTimestampJsonProvider<Event extends DeferredProcessingAware,
FieldNames extends LogstashCommonFieldNames> Writes the timestamp field as either: A string value formatted by aDateTimeFormatter
pattern 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]")class
AbstractJsonProvider<Event extends DeferredProcessingAware>
BaseJsonProvider
that provides default implementations for standard methods.class
AbstractNestedJsonProvider<Event extends DeferredProcessingAware>
AJsonProvider
that nests other providers within a subobject.class
AbstractPatternJsonProvider<Event extends DeferredProcessingAware>
Transforms an string containing patterns understood by PatternLayouts into JSON output.class
AbstractSequenceJsonProvider<Event extends DeferredProcessingAware>
Outputs an incrementing sequence number.class
AbstractThreadNameJsonProvider<Event extends DeferredProcessingAware>
class
ContextJsonProvider<Event extends DeferredProcessingAware>
Writes properties from theContext
into the JSON event.class
FormattedTimestampJsonProvider<Event extends DeferredProcessingAware,
FieldNames extends LogstashCommonFieldNames> Deprecated.class
GlobalCustomFieldsJsonProvider<Event extends DeferredProcessingAware>
class
LogstashVersionJsonProvider<Event extends DeferredProcessingAware>
Writes a version field as a string value (by default) or a numeric value (ifLogstashVersionJsonProvider.isWriteAsInteger()
is true).class
SequenceJsonProvider<Event extends DeferredProcessingAware>
Deprecated.useSequenceJsonProvider
orSequenceJsonProvider
instead.class
UuidJsonProvider<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 TypeMethodDescriptionvoid
JsonProviders.addProvider
(JsonProvider<Event> provider) void
JsonProviders.removeProvider
(JsonProvider<Event> provider) -
Uses of JsonProvider in net.logstash.logback.composite.accessevent
Classes in net.logstash.logback.composite.accessevent that implement JsonProviderModifier and TypeClassDescriptionclass
class
class
class
JsonProvider
producing a single JSON field with theIAccessEvent.getThreadName()
.class
class
class
class
class
class
class
class
class
class
class
class
class
-
Uses of JsonProvider in net.logstash.logback.composite.loggingevent
Classes in net.logstash.logback.composite.loggingevent that implement JsonProviderModifier and TypeClassDescriptionclass
class
Logs an exception message for a given logging event.class
Include the logging event'sILoggingEvent.getArgumentArray()
in the JSON output.class
class
class
Includes key value pairs added from slf4j's fluent api in the output according toKeyValuePairsJsonProvider.includeKeyNames
andKeyValuePairsJsonProvider.excludeKeyNames
.class
class
class
class
class
JsonProvider
producing a single JSON field with theILoggingEvent.getThreadName()
.class
class
class
class
IncludesMDC
properties in the JSON output according toMdcJsonProvider.includeMdcKeyNames
andMdcJsonProvider.excludeMdcKeyNames
.class
class
class
A JSON provider that, for any log event with a stack trace, adds aroot_stack_trace_element
JSON object field containing the class name and method name where the outer-most exception was thrown.class
class
A JSON provider that adds astack_hash
Json field on a log with a stack traceclass
class
WritesMarker
names as an array to the 'tags' field.class
Deprecated.UseLoggingEventThreadNameJsonProvider
instead.class
class
Logs the message of the throwable associated with a given logging event, if any.class
Logs the class name of the innermost cause of the throwable associated with a given logging event, if any.class
Logs the message of the innermost cause of the throwable associated with a given logging event, if any.class
Deprecated.useUuidJsonProvider
instead. -
Uses of JsonProvider in net.logstash.logback.encoder
Methods in net.logstash.logback.encoder with parameters of type JsonProviderModifier and TypeMethodDescriptionvoid
LogstashAccessEncoder.addProvider
(JsonProvider<IAccessEvent> provider) void
LogstashEncoder.addProvider
(JsonProvider<ILoggingEvent> provider) -
Uses of JsonProvider in net.logstash.logback.layout
Methods in net.logstash.logback.layout with parameters of type JsonProviderModifier and TypeMethodDescriptionvoid
LogstashAccessLayout.addProvider
(JsonProvider<IAccessEvent> provider) void
LogstashLayout.addProvider
(JsonProvider<ILoggingEvent> provider)
AbstractFormattedTimestampJsonProvider
instead