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