I have some data that is an array inside an array. If it makes it easier, there will only ever be the one nested array inside of StopData.
{
"Name": "ExceptionLogs",
"Id": "Id1",
"StopData": [
[
{
"level": "ERROR",
"code": "UCV019",
"description": "Invalid port type",
"detail": "100000 Mbps"
},
{
"level": "WARN",
"code": "UCV023",
"description": "Unrecognized key for config option",
"detail": "sourceSystemProductName"
}
]
]
}
I would like to have the fields of objects in a table, level, code, description, and detail. Also, this is one row in splunk. There will be many rows where the Id field will be different. And there can be many entries in the array. I'd like to have all the rows in one long table.
Id level code description detail
--- ----- ---- ----------- ------
Id1 ERROR UCV019 Invalid port type 100000 Mbps
Id1 WARN UCV023 Unrecognized key... sourceSystemProductName
Id2 ERROR UCL013 Invalid Config 334115687
I have tried searching and searching but I am unable to piece together anything that shows any data at all.