Class ContextJsonProvider<Event extends DeferredProcessingAware>

Type Parameters:
Event - type of event (ILoggingEvent or IAccessEvent).
All Implemented Interfaces:
ContextAware, FieldNamesAware<LogstashCommonFieldNames>, JsonProvider<Event>

public class ContextJsonProvider<Event extends DeferredProcessingAware> extends AbstractFieldJsonProvider<Event> implements FieldNamesAware<LogstashCommonFieldNames>
Writes properties from the Context into the JSON event. If the fieldName is set, then the properties will be written to that field as a subobject. Otherwise, the properties are written inline.