You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support something similar to what logstash-logback-encoder offers, namely "Structured arguments", which allow easy adding of fields to your documents sent to Elasticsearch.
This is already possible when putting fields into the MDC with the correct encoder, but populating and then clearing the MDC is cumbersome.
Sample usage:
LOG.debug("Rendering took {} ms for {}", StructuredArguments.value("duration.ms", durationMs), StructuredArguments.keyValue("username", "userid"));
Alternatively, you could make logback-elasticsearch-appender depend on logstash-logback-encoder to take advantage of all of its JsonProviders and Structured Arguments without having to copy/paste.
Support something similar to what logstash-logback-encoder offers, namely "Structured arguments", which allow easy adding of fields to your documents sent to Elasticsearch.
This is already possible when putting fields into the MDC with the correct encoder, but populating and then clearing the MDC is cumbersome.
Sample usage:
(Might be related to #31)
The text was updated successfully, but these errors were encountered: