Logan Gagne
3 discussion posts
log4j 2 supports JSON formatted logs, but there is no way to get these rendered nicely in LogFusion
https://logging.apache.org/log4j/2.x/manual/layouts.html#JSONLayout
Considering the JSON format includes both the column name and the contents, it should be quite simple to translate this to columns. I would love to get this feature implemented because I've yet to find a good way to get columns working with any logs which contain stack traces. Due to the lack of lookaround regex support any stack traces will nicely parse the first line out into columns (timestamp, thread ID, etc) but then dump the remaining stack trace lines into the first (timestamp) column because they lack the standard date/thread prefixes. The JSON format seems like the ideal solution to this, because it's already broken out into columns, but there is no support.
Giorgio Galante
1 discussion post
This would be useful for us as well since we use structured logging (Serilog) and it's becoming more and more common/popular.
Added your vote to the feature request. Thanks!
Freddy Henin
1 discussion post
Are there any updates on this? would be very helpful
Not yet, sorry. I'll add your vote to the feature request.
Thanks!
MayersDesign291468
1 discussion post
Upvote from me. Shifting more to structured logging, and json parsing would be superb