translate {
field => "[monitorgroup]"
destination => "[nuevo_campo]"
dictionary_path => "/etc/logstash/conf.d/list-clients.yml"
fallback => "no match"
}
-The path is right, the field exists, is a string
-I have tried to convert the field "monitorgroup" to integer, doesnt work either
-I have checked that the spaces in the dictionary are not tabs in VScode
-Usually when you open a YML in Vim editor, it colours the dictionary, but with this file that doesnt happens, I dont know if this is relevant
-Im running logstash with the command: /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/filebeat/my.conf
dont know if this is relevant either
Hi, badger, tried just now, doesnt work either, as a string or as an integer, when adding the quotes
the logstash version is 7.2, I have other pipelines with translate, one with IP addreses as keys, and another with strings as key, but this is only one that doesnt work....same file permission.
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.