Hi, I'm trying to come up with a query to generate the count of strings in a json field in a log, across all events. For example, say I have a search that displays say, 100,000 logs, with each log ...
See more...
Hi, I'm trying to come up with a query to generate the count of strings in a json field in a log, across all events. For example, say I have a search that displays say, 100,000 logs, with each log containing some JSON structured string [{"First Name": "Bob", "DOB":"1/1/1900", ..."Vendor":"Walmart"}]
I want to generate a table that lists all the unique Vendor values, and the count of the values. Something like,
Vendor | Count
Walmart 5
Target 3
ToysRUs. 100
etc...
Is something like this possible?