Splunk Enterprise

How do I view / save the entire list of Reports + Alerts in Splunk Enterprise , any SPLs is much appreciated. Thank u

SamHTexas
Builder

How do I view / save the entire list of Reports + Alerts in Splunk Enterprise, any SPLs is much appreciated. 

If you would show me how to generate the same for ES. Thank u

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Start with this REST command then customize the query to produce the desired output.

| rest /servicesNS/-/-/saved/searches
---
If this reply helps you, Karma would be appreciated.
0 Karma

SamHTexas
Builder

Thank u for your reply. I am not clear. I ran:

| rest /servicesNS/-/-/saved/searches

Received general search results

Ran 

| rest /servicesNS/-/-/saved/reports     No results

| rest /servicesNS/-/-/saved/alerts        No results

 

I am sure I have many reports & alerts. I appreciate a reply. Thank u as always Rich.

 

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Reports and alerts are just saved searches so the one REST command will return them all.  For reports, the alert_type field value will be "always".

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

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