Splunk Search

Splunk not able to recognize the JSON file source type and index it

vikrantkumar199
New Member

I am trying to monitor a folder containing JSON files in it. But, I observed that files are not getting indexed.
When looked into *, the "Number of files" getting updated as new files get added.
But in *'Indexes'
section, "Event Count" remain same 0 and does not increase.
Tried to even search with index="index_name", it does not return any result and shows 0 events.
Even checked the validity of the JSON file on multiple sites and found valid.
Tried to reduce the JSON size as well. Still no luck.

Any suggestion or clue to debug is highly appreciated!
Thanks in advance.

0 Karma

woodcock
Esteemed Legend
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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