Hello Klipfolio Experts,
hopefully someone can help me.
I have the following json:
{
"objects":[
{
"event_service":[
{
"service":{
"service_name":"Service 1"
}
},
{
"service":{
"service_name":"Service 2"
}
}
],
"severity":{
"severity":"major"
}
},
{
"event_service":[
{
"service":{
"service_name":"Service 2"
}
}
],
"severity":{
"severity":"minor"
}
},
{
"event_service":[
{
"service":{
"service_name":"Service 2"
}
}
],
"severity":{
"severity":"minor"
}
}
]
}
The tricky thing here is that the first element of event_service has two child of service_name. The other has only one service_name.
I like to get now an allignment of severity and service name. Like this:
Service 1, Major
Service 2, Major
Service 2, Minor
Service 2, Minor
But unfortunately i have no idea which function should i use here.
Regards,
Torsten