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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...