we write our Tomcat Log files in JSON by using log4j2 JSONLayout.
Each log file event is a single line with a whole JSON in it and the log file is parsed by using filebeat.
I know I can parse the JSON by using the JSON extractor from the Filter Chain, but I like to use the pipeline processor for it.
The number of JSON fields and values depends on the classes and is different in the log events.
Is it possible to parse an unknown JSON by using pipelines? I can only find possibilities to map known JSON keys and values.
Thanks and greetings,