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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...