Hi, I'm trying to create a set of filters that will add a field based on a numeric value received by logstash.
At the moment I'm just adding a TAG to see if the "IF" works.
It appears that there is something wrong with my IF statement.
I've tried '174' , "174", and 174 without any enclosing marks.
How do can I debug this further ?? According to the netflow codec docs ipfix.bgpDestinationAsNumber
is a numeric field.
Also, is the "ipfix.bgpDestinationAsNumber" a nested one? By default the netflow codec has a target field called "netflow" as per the documentation, so you might need to reference it as
Btw, the add_tag needs just a value that will end up in the "tags" field, no need to supply a field name. Try this instead
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.