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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

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