[
https://issues.apache.org/jira/browse/LOG4J2-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15412084#comment-15412084
]
Matt Sicker commented on LOG4J2-667:
------------------------------------
You'd manually add all the LogEvent fields you want. They're all available via
pattern converters. This doesn't allow you to say "I want all the fields except
these two", but it does allow you to say "I want these specific fields with
these specific keys in this specific format".
> Add customization for JSON Layout keys and values
> -------------------------------------------------
>
> Key: LOG4J2-667
> URL: https://issues.apache.org/jira/browse/LOG4J2-667
> Project: Log4j 2
> Issue Type: Improvement
> Reporter: Danny Sullivan
> Labels: JSON
>
> I really like the JSON Layout feature as it's easily parsed by splunk. I
> would like to see more customization on the type of information that's
> included in each json message, similar to the Pattern Layout such as MDC and
> NDC, the locations etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]