Hi there!
I want to apply a gsub to ALL fields in my logstash object arbitrarily. I know logstash has no tool for loops like that, but I thought I could perhaps do it in a ruby resource?? Something like:
code => "
event.each {|field|
field.gsub!("replaceThis", "withThis") }
"
however I have not as of yet been able to find the correct syntax for the loop. I've already verified that the gsub I use is good.
Any help appreciated!!! Thanks!