Splunk Search

Splunk7.1.2 でタイムゾーン・時刻ズレ/日時のデフォルトフィールド(date_xxxx)の不具合

cipherjake
Explorer

Splunk 7.1.2でデータ取込みを行い、日時の不デフォルトフィールドを使って9:00~17:00以外の時間範囲というサーチを設定していました。

index=test_index date_hour>=9 AND date_hour<=17 ....

するとなぜか設定した時間範囲が9時間ずれて認識される事象が発生しています。
切り分け結果は以下の通り。
・この事象がおきるのは、ログの中のタイムスタンプがUNIXタイムで記載されているログのみ。
※2017/8/22 11:11のような記載のログでは起きていない。
・ログに記載のあるUNIXタイムと_timeにズレはない。
・サーチするSplunkユーザーのタイムゾーンは明示的に「東京・大阪....」と設定している。
・タイムレンジピッカーによる絞り込みは正常に機能している。

何か知っているかたがいましたら教えてください。

0 Karma

HiroshiSatoh
Champion

Splunkのバージョンの問題ではなくそもそもの仕様だと思います。
時差を考慮して条件設定するか、データ量にもよりますが、一度_timeから時間を編集して再度検索する等で回避するしかないかと思います。

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...