Getting Data In

timestampに日本語を含む日時を指定する方法

haruka_saito
Explorer

timestamp下記のような日付を指定したいのですが、Splunkでうまく取り込めません。
タイムスタンプ形式で指定すればよいのだと思うのですが、日本語の曜日を含んでいるため指定方法がわかりません。
どのように指定すればよいのでしょうか?


送信日時:2016年6月21日火曜日 23:29

Tags (3)

Suda
Communicator

私自身は試していませんが、datetime.xmlをカスタマイズする事で対応できそうです。
具体的な設定方法は、こちらのAnswer「日時情報の抽出方法について」をご参照ください。
日本語の曜日に相当部分周辺は、「(?:.曜日)」のように設定します。
「?:」を使って正規表現のインデックスから除外することで、strftimeフォーマットで対応が難しい形式に対応できるようになると思います。
お試しください。

0 Karma
Get Updates on the Splunk Community!

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...