The conditional statement in my logstash configuration is being ignored. It is being skipped over no matter what I put in it. I have 4 elasticsearch options in the output divided by an if and else statement. I've tried using the following conditional statements:
It should not. The tags field should be empty. I'm using this config for two processes. I set tags in one but do not in add tags in the other. There actually shouldnt be any tags added. Either way there is no issue showing for if "tag_name" in [tags] even if tag_name is incorrect or if tags even exists as a field.
I tried using the example in the linked issue and the "in" and "not in" syntax but still no success. There are actually no values for the tags field. For one index I add tags in the input but for the other index I do not add this line to the config. It seems to just skip over it. Whenever, I add a bad field or value no error or warning or anything, nothing comes up. Any ideas?
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.