My logstash receives JSON messages from a kafka topic. During development phase it is useful if I can read the json in a flattened way. There exists a program called catj which does this. It is an npm binary. You need to install it globally for it to work in the command line.
The usual way to run it is: echo '<some_json_string>' | catj
Note: I have to insert JSON between single-quotes (in the shell).
However, I get error when I set the filter like so:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.