Getting Data In

Index just filenames in a directory

cejohnson
Explorer

Is it possible to just index a directory of filenames? I have a directory containing gobs of logfiles. I really don't need the data from them, but the filenames contain enough info that I could do some easy counts and stats using splunk.

Tags (1)
0 Karma

lrhazi
Path Finder

Your data source could be a script that runs /bin/ls /path/to/your/dir

0 Karma

cejohnson
Explorer

I'm not sure that would work for me. One of the things I'd like to do is continually monitor the directory and display the counts of some of the different file types that show up in there, updating the dashboard every X number of minutes. I'm able to determine the different file types based on the naming convention.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...