Reporting

Is there a way to retrieve the messages from the banner at the top of the UI and email me a report on them?

yannK
Splunk Employee
Splunk Employee

I wanted to have a check of the messages displayed on the top of the UI and email me a report on them, instead of logging in to see them.

Tags (4)
1 Solution

yannK
Splunk Employee
Splunk Employee

And I found this search to get them :

| rest /services/messages | table title message severity timeCreated_iso published splunk_server author 

Then schedule it with an alert to email me a copy once a while.


PS : If you want to create messages for your users on the fly from the command line

curl -k -u admin:changeme https://localhost:8089/services/messages -d severity="warn" -d name=message -d value="This is your Splunk Admin, there will be a maintenance of this instance in 10 minutes -> 15:00 , ETA of 30 minutes -> 15:30, for updates contact me at YourFriendlyNeighborhoodAdmin@mydomain.com"

View solution in original post

yannK
Splunk Employee
Splunk Employee

And I found this search to get them :

| rest /services/messages | table title message severity timeCreated_iso published splunk_server author 

Then schedule it with an alert to email me a copy once a while.


PS : If you want to create messages for your users on the fly from the command line

curl -k -u admin:changeme https://localhost:8089/services/messages -d severity="warn" -d name=message -d value="This is your Splunk Admin, there will be a maintenance of this instance in 10 minutes -> 15:00 , ETA of 30 minutes -> 15:30, for updates contact me at YourFriendlyNeighborhoodAdmin@mydomain.com"

martin_mueller
SplunkTrust
SplunkTrust

For completeness' sake, you can also add messages through the UI by going to Settings -> User Interface -> Bulletin Messages.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...