Working on a way to completely replace the event with the string in logstash filter.
Input: { "a": "b", "c", "d" }
Output "a:b-c:d"
Tried using the ruby code. I'm able to form the pattern but how can i replace the output string with the original json event. I want to completely remove the existing event.
Any help is much appreciated.
Thans in advance