Thank you! that is not only exactly what I needed but also a push in a direction I knew I was heading!
I would like to clarify a couple things about the logstash environment. Am I correct in assuming that per event, it's pretty much one pass through the filters, and if I want to loop on something, I need to use ruby?
Some filters allow for multiple attempts at a transformation like grok, date and dissect.
The mutate filter has limited support for transforming array values and it also support multiple actions in any one mutate config declaration, many people don't know this and declare multiple mutate filter blocks with one transform in each - these can be combined into one mutate filter block providing one keeps in mind the order of operations.
We don't have a filter that does general purpose transforms on array values like select or reject. Its quite rare to need these transforms - and we know it can be done with a ruby filter.
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.