I have a log like this:
{"A.amazon.aws.requestedParameters":{"testlabel1":"testvalue1"}}
{"B.amazon.aws.requestedParameters":{"testlabel1":"testvalue1"}}
...
and I want to change the field name to something like this: A-requestedParameters
, B-requestedParameters
, ...
I checked the mutate filter plugin but it doesn't work with regex.
How can I do it?