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.

Get Updates on the Splunk Community!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...