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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...