Dashboards & Visualizations

Data input from a directory not working sometimes

yiguanghu
Explorer

I have a directory on the splunk server. There are xml files in the directory. I have setup a sourcetype for the xml files and setup the splunk to load data from the directory continuously.
But somehow, it just don't work. I can load individual files from the directory with the same sourcetype without any problem.

I have another directory with different xml files and sourcetype and setup load data continuously and it works fine.

Any idea?

Thanks

0 Karma

pyi
Engager

I'm copying this from another place, it might apply here. I should get a commission from splunk
"
Check your splunkd.log for any logs related to this. Perhaps the files are too similar and you are getting a crccheck issue (where the crc of the files is too similar and splunk doesnt index because it thinks its the same file. Basically the first 250 chars of the files are the same, in this case look for crcSalt in inputs.conf)

Please read input.conf.spec for more information on [batch://] and crcSalt.
"

http://answers.splunk.com/answers/10727/data-input-monitor-a-directory-for-new-files-and-delete-when...

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...