Splunk Search

CSV files limitation

jiaqya
Builder

Is there a limit associated with csv file for indexing on forwarder.
i find many of the csv files are skipping indexing randomly..

any suggestions on what could cause it.
in a previous question i did post the cpu/ram was below the minimum requirement for the forwarder.
could this be a potential reason....

Tags (1)
0 Karma

ssadanala1
Contributor

Hi ,
The reason might be not adding crcSalt or crcinitlength in inputs.conf .

crcSalt =
* Use this setting to force the input to consume files that have matching CRCs
(cyclic redundancy checks).
* (The input only performs CRC checks against, by default, the first 256
bytes of a file. This behavior prevents the input from indexing the same
file twice, even though you may have renamed it -- as, for example, with
rolling log files. However, because the CRC is based on only the first
few lines of the file, it is possible for legitimately different files
to have matching CRCs, particularly if they have identical headers.)

Can you please add crcSalt = .

If the trick doesn't work please share how your inputs.conf looks like ?

Thanks

0 Karma

jiaqya
Builder

crcSALT didnt help either.
for some reason after the service restart splunk had stopped indexing the csv files.
however strange, after 3-4 days everything is back to normal.
have no idea what caused it and what was the fix. however going ahead with upgrading the cpu/ram for the forwarders...

0 Karma

p_gurav
Champion

Is there any error in _internal index?

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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...