I Think query seems to be working as suggested by you. I manually check for some of events using below query index=myIndex | spath path=resp.meta.bValues{}.aValues{} output=aValues | eval cnt=mvcount(aValues) | table cnt, eventId My bad. Just recofirming again with you that the above query works with json array in aVaules as well right ?? See below one event for sample Every event has bValues as json array and every bValue has aValues as json array. I want to calculate aValues for all bVaues across all events {
resp: {
meta: {
bValues: [
{
aValues: [{e:d, s:h}, {g:i, r:t}
]
x: y
a: b
},
{
aValues: [{e1:d1, s1:h1}, {g1:i1, r1:t1}
]
x1: y1
a1: b1
}
]
}
}
}
... View more