Dashboards & Visualizations

Dashboard for all alerts in splunk

Sailesh6891
Engager

Can someone please help me with dashboard search query that will look for all alerts configured in splunk and list only those alerts having index=* 

Labels (1)
0 Karma

marnall
Motivator

Try the API:

| rest "/servicesNS/-/-/saved/searches" splunk_server=*
| regex search="index=\*"
| table title search disabled author eai:acl.app
0 Karma

isoutamo
SplunkTrust
SplunkTrust
You should add \s* in both side of = to found also “index =*” etc definition. Also there could be a macro or eventtypes where this definition is. Even role’s default index or search filters could contains this definition. As you see it’s not as easy than look “index=*” from saved searches or even from _audit.
There are lot of similar questions and answers in community where you could see more information about this subject.
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...