Alerting

splunk: View the alerts created by another user

kimberlytrayson
Path Finder

We are using splunk enterprise in our organization. Is it possible to view the alerts created by another user?

I went to

Reports and Dashboards -> Alerts

Clicked on All. Searched for the other user's name in the searchbox but no results come up.

Thanks for reading.alt text

Tags (2)
0 Karma

woodcock
Esteemed Legend

Try this:

|rest/servicesNS/-/-/saved/searches splunk_server=local
| where 'alert.track'="1" AND ('eai:acl.owner' = "sumguy" OR owner = "sumguy")
| dedup id
| rename dispatch.* AS *
| rename eai:acl.* AS *
| table owner sharing title search description* *
| sort 0 title

And, just in case somebody comes here expecting alert to mean something else, here is that answer, too:

| rest /servicesNS/-/-/alerts/fired_alerts/- splunk_server=local
| addinfo
| where trigger_time >= info_min_time
| table trigger_time author eai:acl.owner eai:acl.app savedsearch_name sid eai:acl.sharing digest_mode id published *
| rename eai:acl.* AS *
| search author="sumguy" OR owner="sumguy"
0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...