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

Spath for getting date json field

$
0
0
Hi all, I'm trying to use spath to extract JSON data from a field name that represents a date: { "field1": { "2019-01-02": [] } } but when I try **spath input=message output=result field1.2019-01-02** it's not working. I tried to replace the field name with another text (i.e. replace "2019-02-01" with "targetDate") and setting the replaced result in the spath input parameter but it is still not working. Thank you for your help.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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