Getting Data In

Files are not indexing automatically when selected Monitor Files & Directories

vikrantkumar199
New Member

I have configured to monitor a directory which has JSON file under it. But after submitting everything when I searched, it does not show any result. When I looked into "Data inputs » Files & directories", Number of files it is showing 1 which is correct as only one file is available as of now in the directory. And, when I looked into particular index, it is showing "Event count" 0 which is not increasing. Even tried to refresh multiple times but no luck. Any guidance is highly appreciated. thanks in advance.

0 Karma

skalliger
Motivator

If you search for index=* and put in your source=*your_file, what do you see? Do you see maybe a typo in the index name or even the index main? If the latter, the config is not working and using the default index.

Skalli

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...