Hi,
I have a jason file which has event0,event1, event2......event50000. I would like to rename all of it to event in Logstash so that the field name is event and corresponding value of event0, event 1 are stored under event field.
I understand that there is no wild card which works in Logstash and ruby filter is one that we can use. Need help to write ruby code to rename it.