Getting Data In

How to extract fields from JSON ?

kvnvkumar
Observer

Hi team,
I have the below my data format in splunk as EVENT, i am unable to extract data field wise. New to Splunk, Can any one support how to extract this.

{ [-]
log: 2019-10-15 11:56:47.066 INFO pappy-command-service:ppe [ankitvinay,baff9b4ace879603,baff9b4ace879603] 23 --- [single-1] c.t.a.p.i.m.c.CommandPublisherImpl : MSG=publishing to kafka, command=CreateApprovePromotion, step=publish, commandStatusId=a570668b-eaa9-44ed-ac90-ac1de811e14a, promotionId=null, status=success

stream: stdout
time: 2019-10-15T11:56:47.0664926Z
}

Tags (2)
0 Karma

Anantha123
Communicator

You can get data by using Spath command .
Go through the link below to have more visibility .
http://docs.splunk.com/Documentation/Splunk/6.3.3/SearchReference/spath

Thanks

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...