In the docs and various examples, I'm seeing if statements in Input section, like:
if
if [message] =~ /dovecot: (imap|pop3|managesieve)-login
Apart from [message], what other fields can if take? I don't have much understanding about this. Is any documentation available?
[message]
Thanks.
https://www.elastic.co/guide/en/logstash/current/event-dependent-configuration.html#conditionals
Basically you can put a reference to a field, or a value.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.