Re: Nifi log output in JSON

2021-05-03 Thread Chris Sampson
I'm not seeing quite the same behaviour having recently tried to get JSON log output for easier parsing of application logs in our cluster. If I include just the core & classic dependency libraries then I get structured output but it's the Map#toString output and *not* JSON - uses = instead of : s

Re: Nifi log output in JSON

2021-02-08 Thread Matt Burgess
Chad, I tried it manually to see what dependencies we'd need/want and how to set it up. To get the logs in JSON (not pretty and not using Jackson) I only needed to add logback-json-classic and logback-json-core to both lib/ and lib/bootstrap. I'd be interested to hear what others in the community

Nifi log output in JSON

2021-02-03 Thread Chad Zobrisky
Hello, I was looking at getting the log output from logback in JSON to support some downstream systems for logging. What is the best way to do this? I know logback supports it via some other dependencies, in groupId ch.qos.logback.contrib, logback-json-classic and logback-jackson, but those are n