ls | grep -c stash
output: 995556
Which tells about 1 million stash files present in ../spool
Error in splunkd.log:
02-16-2022 16:30:53.001 +0100 ERROR TailReader [94376 tailreader0] - File will not be read, seekptr checksum did not match (file=/opt/splunk/var/spool/splunk/3f8259104ba0d585_events.stash_new). 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.
[monitor://$SPLUNK_HOME/var/spool/splunk/...stash_new] index = stash
In a default installation, there is an batch stanza in the default inputs.conf file which reads the files and removes them.
[batch://$SPLUNK_HOME/var/spool/splunk/...stash_new] queue = stashparsing sourcetype = stash_new move_policy = sinkhole crcSalt = <SOURCE>
Removed the following monitor stanza from ../local/inputs.conf:
[monitor://$SPLUNK_HOME/var/spool/splunk/...stash_new] index = stash
ls | grep -c stash : 0
Previously there was 1m+ files, after the changes the number reduced in $SPLUNK_HOME/var/spool/splunk
The $SPLUNK_HOME/var/spool/splunk/ directory is filling up with stash_new Files
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |