Knowledge Management

Continuous Evaluate File

akshatj2
Path Finder

Can I set csv file as input in local monitor as continuous monitor.

I tried to set a file but it seems it is not working.

Tags (1)
0 Karma

s2_splunk
Splunk Employee
Splunk Employee

Yes, Splunk really doesn't care about the file type. As long as it is a text file and appended to, the forwarder will pick up on the changes.
You may get issues if it is a csv file that is re-written periodically and the beginning of the file has repeating values (like a header row) that would prevent us from detecting whether the file has changed, because we are only looking at the first 256 bytes (by default) to determine whether we have already seen the file before. You may have to play with the initCrcLength setting in inputs.conf.

But it's all guesswork on my end until you tell us more about why you think "it's not working". Your forwarder splunkd.log may give you hints as to what may be going on, too.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...