I am repeating a string (let's "abc-123") in my Logstash config file multiple times. I want to declare it as a variable at the start of config file and call this variable where required. Something like:
@Rios How can we use the field my_str if we add it with the above syntax (the first one where we are not adding it into metadata)? I mean what would be the syntax to call my_str in that case?
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.