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

How to convert JSON Keys and values as columns in splunk

$
0
0
Hi, I want to flatten json data to columns for my report purpose. I might not be explaining my requirement properly, here is what my data and result has to be. Input: { "name" : "srini", "value" { "1": "val1", "2" : "val2", "3" : "val3" } } Output: name, name.key, name.value ------------------------------------------ srini 1 val1 srini 2 val2 srini 3 val3

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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