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
SplunkTrust
SplunkTrust

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...