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

extracting value from complex JSON

$
0
0
Hi, need help on how to extract dat from this JSON. i have used spath to extract a part of my JSON to get this data structure: {<"app name1">: { "reason": "all ok", "upstreams": 1, "dialouts": { "idle": 40, "total": 40, "connecting": 0 }, },<"app name2": { "reason": "all ok", "upstreams": 2, "dialouts": { "idle": 15, "total": 15, "connecting": 0 }, },<"app name3": { "reason": "all ok", "upstreams": 2, "dialouts": { "idle": 15, "total": 15, "connecting": 0 }, }, ..... } what i want to do is to have a table to for each i have the idle, total and connecting from "dialouts": how can i do that?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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