How to parse mixed type of data inside json {[array],keys:values} ?
{
"body": {
"date": "1548930893906",
"id": "3987741004",
"origin": "web",
"parties": [{
"direction": "in",
"from": {
"name": "Name",
"number": "363289"
},
"id": "cs1693819",
"standAlone": true
}],
"serverId": "lab.env",
"sessionId": "Y3MxNjkzODE5ODM0MDkyNTE5NjFAMTAuMjQuMTQ0Ljk1"
},
"event": "Notify",
"version": "2.3"
}
split { field => "[body][parties]" } - doesn't work because there are keys with values at the end.
[2019-01-31T15:01:34,849][WARN ][logstash.filters.split ] Only String and Array types are splittable. field: [body][parties] is of type = NilClass