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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...