Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

null events while using spath

$
0
0
JSON: "mainArray": [ {"name":"MS","value":20}, {"name":"MC","value":20}, {"name":"CF","value":20}, {"name":"ST"}, {"name":"CMR","value":20} ] -- i am currently using the search as " | spath output=code path=mainArray{}.name | spath output=cnt path=mainArray{}.value | table code,cnt" and the output i see is as : code cnt MS 20 MC 20 CF 20 ST 20 CMR The Expected Output is: code cnt MS 20 MC 20 CF 20 ST CMR 20

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>