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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...