Splunk Search

Splunk 6.0.1 recusrsive directory search not hapening

anirudhk
Explorer

Hi,

I have a series of Particular file types in a Direcotry of Directories, I tried to index them with monitor on \...\*.. Splunk is performing a recursive search a layet with in the directory but not further. eg: I have a particular file type (say .txt) with in C:\A\B\C\C1(Directory having txt files)\D1(Variable direcotries)\, As per the Splunk documentation I have give the location to monitor as C:\A\B\C\...\*.txt which should have ideally read all the txt files of the locations by recursively searching them... But, in the tailprocessing log - I could only see the level of search till C: direcotry for txt files and not into C1 or D1.

Am I missing anything obvious here?
Is there any parameter, I should enable to get this going?

Is it a bug with Splunk which i couldn't find in Known issues?

Regards
Anirudh

Tags (1)
0 Karma

woodcock
Esteemed Legend

You should be using this for your path-to-file:

C:\ABC\...\*.txt

If you are, then it is likely that the files contain identical content in important sections and have the same CRC so are being interpreted as the same file (only forward it once):
http://docs.splunk.com/Documentation/Splunk/latest/Data/Howlogfilerotationishandled

You can Salt with the filename with crcSalt= so this will not happen.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...