Splunk Json array parse

If your splunk data has json and it is an array with multiple key/values – use this trick here



 initial search  |  table SERVICES{}.* | eval respTable=mvzip('SERVICES{}.ServRespTime', 'SERVICES{}.ServiceShortName', "&&") | eval ResponseTime=mvindex(split(mvfilter(match(respTable,".*&&Service1Name")),"&&"),0) | table ResponseTime

Leave a Reply

Your email address will not be published. Required fields are marked *