@karol With JSON array, you can use below. | makeresults
| eval raw="[{\"name\":\"event 1\", \"attributes\":[\"a\",\"b\"]}, {\"name\":\"event 2\", \"attributes\":[\"a\",\"c\"]}]"
| spath input=raw path={} output=events
| mvexpand events
| spath input=events path=attributes{} output=attribute
| stats count by attribute
| sort - count Regards, Prewin If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!
... View more