i want to split up messages with that format with the kv filter plugin:
"key1": "value1", "key2": "value2", "key3": "value3"
This is my kv config:
kv {
trim_value => """
trim_key => ""\ ()"
field_split => ","
value_split => ":"
}
Now I want to define that ervery message which cannot be parsed by the kv plugin will be dropped. I tried that from Github:
if "_kv_filter_error" in [tags] {
drop { }
}
But unfortunately when nothing matched this tag will not assigned.
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.