Getting Data In

How do I properly configure Splunk to index JSON data?

odedtagar
New Member

I'm trying to index a json file (below) using the preview of the Add data>Set sourcetype window, but every configuration I try returns no results.

Would appreciate getting a configuration that works:

{"Version":"1.0","Measures":[{"TopicName":"Topic 1","TopicId":"0001","StartTime":"2015-08-11 02:12:36.23",...}, {"TopicName":"Topic 1","TopicId":"0002","StartTime":"2015-08-11 02:15:36.23",...}...]}

Thanks,
Oded

0 Karma

somesoni2
Revered Legend

Try this (in the advanced tab)

SHOULD_LINEMERGE = false
TRUNCATE = 500000
DATETIME_CONFIG = CURRENT
KV_MODE = json
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...