How to parse dynamic array json through logstash?

Here is my array json.
"service_lines": [
{
"id": 584942,
"is_approved": null,
"aar": {
"category": {
"id": 42,
"name": "Tires"
},
"system": {
"id": 1,
"name": "Tire"
},
"subsystem": {
"id": 1,
"name": "Tire"
},
"service": {
"id": 53,
"name": "Service Call - Tire"
}
},
"vmrs": null
}
]
These array type json is inside a nested json and I'm getting this data dynamically. Like sometimes i may get 4-5 arrays or even upto 10. I tried splitting the field, but nothing works well. Is there any way I can parse the data?
Any suggestion is appreciated. Thanks much.

A json filter will parse arrays inside JSON objects. What do you not like about the result?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.