Alerting

アラートのアクション設定について

satoru0130
Engager

サーチ結果をアラートメールに反映させる為、アラートマニュアルを参考に、$result.フィールド名$をメッセージ欄に記述したのですが、
実際のメールを見ると、$result.フィールド名$と、
入力文字そのままが返ってきてしまいます。
リネーム前のフィールド名や$result."フィールド名"$等、いろいろやってみたのですが、全て結果は同じ。

唯一、$result._time$は返ってくるのですが、表記が10桁の数値になり、
時間が分からない形となってしまいます。

上記2点、解決方法をご教授いただけないでしょうか?

Tags (2)
0 Karma

riken2
New Member

日本語のフィールドを指定したとき、tokenの解釈が間違えているように見えます。
たとえば、
| stats count as カウント
としたときに
$result.カウント$
は、カウントをフィールド名として認識せず、そのまま $result.カウント$ として出力されます。

0 Karma

tkomatsubara_sp
Splunk Employee
Splunk Employee

動作きちんとしますので、なにかが間違ってらっしゃるように見えます。

https://splunkbase.splunk.com

のなかからいろいろなAppをダウンロードして、それぞれの設定内容を参考にされるといいと思います。

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

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

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...