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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...