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
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...