As I experiment with logstash, I have tried to create temporary variables to hold data that I hope to later use to use in an add_field statement. However, I often see configuration errors when I try to do this.
How does one create temporary variables in logstash? Not new tags or fields, but just temporary variables?
Variables that persist between events? There's no "official" way to do that from the Logstash configuration language. It either needs to be explicitly implemented in a plugin or I think you can use a ruby filter like this:
Thank you for your rapid response. No, I'm not thinking about persistent variables, just variables that I can use during the processing of a single event.
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.