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!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...