I know that i can filter on specific tags in Logstash with an IF, but i don't want to filter on the tag names, i want to filter on what a tag contains. So if tag "environment" == "production" then i want to do something.
How can i achieve this? I cannot find it anywhere!
tags do not have values. A tag is just a string in the array which is the tag field. logstash does support conditionals in filters, which allows you to test the values of fields.
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.