Logback how to log json structure for splunk and default for app

Viewed 33

I have a Spring Boot app with logback on kubernetes that structures the log in a json format with other metadata.

The log on the kubernetes pod is also in the same exact format.

Is it possible to have an appender that logs with default format on the kubernetes pod while continuing to log json format for splunk?

0 Answers
Related