Getting Data In

How can you get a complete list of all files with the path Splunk is monitoring/ingesting?

cwatterson
New Member

I'm trying to get a list of all files with the path that Splunk is currently monitoring. Google and searches here have proven unfruitful.

0 Karma

anekkanti_splun
Splunk Employee
Splunk Employee

There's a rest endpoint that lists all the files that splunk is monitoring:
https://localhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus

For more details as to how exactly use the endpoint is described in the blog post:
http://blogs.splunk.com/2011/01/02/did-i-miss-christmas-2/

If you are post 6.3 you could also use the command:
$SPLUNK_HOME/bin/splunk list inputstatus

aljohnson_splun
Splunk Employee
Splunk Employee

I'd start with

SPL

| metadata type=sources

Then, I'd look to

Data inputs:

alt text

Then look at Local (also check Remote, just below! )

File & Monitor inputs

alt text

So that you can see, for example, a monitor input that has 32 files being monitored:

alt text

0 Karma

cwatterson
New Member

still doesn't give me anything remotely close to what i'm looking for, getting anything out of splunk other that the data it's ingesting is like pulling teeth from an angry bear with 3 of his friends with him.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...