Getting Data In

crcSalt question - index all

renanprado96
Path Finder

I already know that without crcSalt Splunk checks the first 256 characters, and the crcSalt = the Splunk checks the source.
But what I do for Splunk not check anything, index all files?

Thank you!!

0 Karma
1 Solution

jkat54
SplunkTrust
SplunkTrust

If you did that, it would never stop indexing all files... it wouldnt know what files it has read, and would just keep indexing again and again.

View solution in original post

somesoni2
Revered Legend

IMP, the crcSalt= will do re-indexing of all files. Did you give that a try?

0 Karma

renanprado96
Path Finder

So I would never stop indexing?
The crcSalt has other parameters beyond the ?

0 Karma

jkat54
SplunkTrust
SplunkTrust

If you did that, it would never stop indexing all files... it wouldnt know what files it has read, and would just keep indexing again and again.

renanprado96
Path Finder

Got it,
In addition to the has more parameters for crc Salt?

Thanks...

0 Karma

jkat54
SplunkTrust
SplunkTrust

you can use crcSalt=RandomString but this will only make it reindex files that have already been indexed, and it will only index them one new time.

What are you trying to do?

Most people want to use crcSalt=<SOURCE> and use the "Monitor" stanzas in inputs.conf.

I guess if you wanted to, you could greatly reduce the size of your fishbucket aka btree:

http://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf

file_tracking_db_threshold_mb = 1

The above would cause there to be a very small fishbucket (which contains the CRCs), and so splunk would fill the fishbucket rapidly and then rotate the data within... effectively "forgetting" very quickly that it had indexed a file.

0 Karma

renanprado96
Path Finder

Got it, do not have much text about Salt crc, so I was confused.

It is possible to create a crc without being the first characters and not the source?
We're having trouble in this part.

Thank you, again.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...