Hi,
While parsing some json logs I'm getting into problem with unavailability to remove one subfield,
for instance this is my JSON
"alert": [ { "src": { "url": "xxxx",
"domain": "xxxx",
"smtp-mail-from": "xxxxxxxx"
},
"severity": "xxxx",
"dst": { "smtp-to": "xxxxx"
},
"explanation": {
"protocol": "",
"service": "xxxxxx",
"analysis": "binary",
"os-changes": [ {XXXXXXX
Using
remove_field => ["json","message","[alert][explanation]] i can successfully remove til the field explanation but it cuts to much, so I need to cut it as os-changes as last filed.
But I get stuck into problem that buttom example doesn't cut os-changes
remove_field => ["json","message","[alert][explanation][os-changes]"]
Thanks
Dubravko