Hi,
If you want to reindex your data then your will have to add crcSalt in your inputs.conf.
By default, the input only performs CRC checks against the first 256
bytes of a file. This behavior prevents the input from indexing the same
file twice, even though you might have renamed it, as with rolling log
files, for example. 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.
If set, string is added to the CRC.
If set to the literal string "SOURCE" (including the angle brackets), the
full directory path to the source file is added to the CRC. This ensures
that each file being monitored has a unique CRC. When crcSalt is invoked,
it is usually set to SOURCE.
Be cautious about using this setting with rolling log files; it could lead
to the log file being re-indexed after it has rolled.
In many situations, initCrcLength can be used to achieve the same goals.
Default: empty string.
... View more