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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...