We have input data like this message:[{key1:value1},{key2:value2}]
and we need value of message, which is a list, directly on root of event (to use as zipkin storage) without any additional field.
I tried using json filter,
Here without target, which ideally should move value of message to root of event, but I get error Parsed JSON object/hash requires a target configuration option
Basically zipkin wanted to consume it from elasticsearch and list is what it requires.
Here is a similar discussion - Logstash Filter Json To Array of Json - #6 by Badger but in my case output is elasticsearch I don't think I can use codec => plain { format => "[ %{[@metadata][string]}
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.