Getting Data In

CRCSALT = SOURCE but still getting error "File will not be read".

tb5821
Communicator

I have my inputs.conf setup like so:

[monitor:///var/log/java]
disabled = 0
index = myindex
sourcetype = metrics_csv
whitelist = metrics.*.csv
CRCSALT = <SOURCE>

But even though each filename is UNIQUE with a timestamp, etc, I still get the error that the "File will not be read"! Thoughts?

ERROR TailReader - File will not be read, is too small to match seekptr checksum ().  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.
Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

CRCSALT should be crcSalt.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

CRCSALT should be crcSalt.

---
If this reply helps you, Karma would be appreciated.

tb5821
Communicator

thanks - how do I confirm this is actually working though? I still see the same message in the logs

0 Karma

codebuilder
Influencer

You'll have to cycle the forwarder after correcting the typo.
Afterwards you can verify with tstats.
e.g.

|tstats count where index=myindex by source
----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

codebuilder
Influencer

Did this resolve your issue? If so, please accept @richgalloway 's answer so that it can benefit others in the future.

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

jaihingorani
Path Finder

Hi @codebuilder  @richgalloway 

ran into this issue all of a sudden, i am using the same crcSalt=<SOURCE> parameter in my inputs.conf stanza, however its still throwing the same error "File will not be read, is too small to match seekptr checksum (file=<path to file>). Last time we saw this initcrc, filename was different. You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source. Consult the documentation or file a support case online at http://www.splunk.com/page/submit_issue for more info. 

the same inputs stanza has been pushed to another UF, where the logs are flowing fine for the same path. Is there something still missing ?

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...