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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...