Getting Data In

what is the difference between crcSalt and CHECK_METHOD=modtime?

xiyangyang
Path Finder

I know both of the two settings can help me to index the whole file,
What the difference between the two?
Is there some thing one can do but the other cannot?

0 Karma

HiroshiSatoh
Champion

When file update time is changed, set ”CHECK_METHOD=modtime” when capturing unconditionally.
Normally it is incremental acquisition(CHECK_METHOD= endpoint_md5), but if the same "checksum" file exists, set crcSalt and check "checksum" using PATH.

0 Karma

xiyangyang
Path Finder

佐藤さん
CHECK_METHOD=modtimeを設定した場合、毎回出力が同じのファイルを出力度に取得できるでしょうか?
crcSaltの場合、ファイルの中身が同じであれば、timestampだけ変更した場合、ファイルの取得できない認識です。

0 Karma

HiroshiSatoh
Champion

こんにちは。

CHECK_METHOD=modtimeを設定した場合はファイルの更新時刻が更新されれば取得します。ただし、ファイル全件取得で、差分だけ取得するわけではありません。

>crcSaltの場合、ファイルの中身が同じであれば、timestampだけ変更した場合、ファイルの取得できない認識です。
⇒crcSaltは目的が違うので認識が少し違います。ファイルの中身が同じでもファイルパスが違えば取得します。同じヘッダファイルを持つログ等、本来は違うファイルなのにchecksumが同じになってしまうような場合にファイルパスをchecksumに含むことで両方のログを取得できるようにcrcSaltは使うものです。

※平日の業務時間内であればSPSSで質問して頂いたほうが回答は早いと思います。

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...