Knowledge Management

Splunk doesn't index csv files after cleaning events data

splunknewbie05
Explorer

I have my own test servers
a) universal forwarder
b) indexer

I push the large csv files (containing around 30 to 40k events) through universal forwarder with source_type=csv.
Splunk indexer was happily indexing csv files pushed from universal forwarder
I wanted to clean up all the events in indexer and did the following
a) splunk stop
b) splunk clean eventdata
c) splunk start

After I ran the above commands to clean the event data and now push the csv files again, splunk doesn't see them or index them.

Its kind of annoying.

Any thoughts on why splunk would stop indexing csv files?

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

You can do 1 of 3 things:
1: Clear the fishbucket
2: Modify the contents of the file slightly (add a carriage return at the top).
3: Add crcSalt= and change the filename.

See most of the particulars here:
http://answers.splunk.com/answers/46780/reset-splunkforwarder-to-re-read-file-from-beginning.html

View solution in original post

0 Karma

woodcock
Esteemed Legend

You can do 1 of 3 things:
1: Clear the fishbucket
2: Modify the contents of the file slightly (add a carriage return at the top).
3: Add crcSalt= and change the filename.

See most of the particulars here:
http://answers.splunk.com/answers/46780/reset-splunkforwarder-to-re-read-file-from-beginning.html

0 Karma
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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...