Getting Data In

Splunkのメッセージにカスタムメッセージを登録する方法

Splunk_Shinobi
Splunk Employee
Splunk Employee

Splunkの画面右上にあるメッセージ部分に、独自のメッセージを登録する方法を教えて下さい。

設定→ユーザーインターフェイス→掲示板メッセージ からマニュアルで登録可能なのは理解してますが、
プログラム的に、例えばアラートと組み合わせる等ができるようにしたいです。

REST APIなどで操作する方法のサンプルがあれば助かります。

0 Karma
1 Solution

melonman
Motivator

以下のmessage エンドポイントを利用していただければメッセージの登録が可能です。

curl -k -u admin:changed https://localhost:8089/services/messages \
-d severity="warn" \
-d name="警告情報" \
-d value="性能情報を確認してください"

alt text

ご参考
https://answers.splunk.com/answers/318696/how-can-i-showdisplay-alerts-on-the-messages-tab-a.html

View solution in original post

0 Karma

melonman
Motivator

以下のmessage エンドポイントを利用していただければメッセージの登録が可能です。

curl -k -u admin:changed https://localhost:8089/services/messages \
-d severity="warn" \
-d name="警告情報" \
-d value="性能情報を確認してください"

alt text

ご参考
https://answers.splunk.com/answers/318696/how-can-i-showdisplay-alerts-on-the-messages-tab-a.html

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...