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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...