Dashboards & Visualizations

Is there a way to trigger an alert through a dashboard button?

paimonsoror
Builder

I had an interesting request today from a team who was looking to enhance their Splunk dashboard by allowing for a manual trigger of an Alert.

We currently have a custom alert set up that essentially does an snmp trap over to some of our alert monitoring tools. Most teams are using this alert in the typical fashion (i.e. scheduled searches that trigger alert on specific value).

However this one team needs more of an ad-hoc alerting. They have their engineers analyze some of the data that they are reporting on, and until they come up with the appropriate algorithms and such to automate via schedules and the like, they would like to have a button that would actually kick off the alert action.

Is this possible?

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

HI,

You can make by using sendalert search command.

https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/SearchReference/Sendalert

Create your custom alert and execute by running search in dashboard.

I hope this will help you.

Thanks

0 Karma

nkpiquette
Path Finder

I would recommend combining this with sideview utilities to embed a button into a table. The button's search should contain the sendalert command. See https://answers.splunk.com/answers/390073/table-module-per-rowchecbox.html to get more information about embedding a button into the table.

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Agreed.....

0 Karma

DalJeanis
Legend

That depends entirely on what you mean by "kick off an alert action", and how many different actions you envision doing.

You absolutely CAN do it.

A panel can run a search, based on tokens that can include arbitrary text.

A search can collect records into a (summary) index or output records to a csv file.

A scheduled or real-time search can pick up records from an index or csv file and perform functions based on them, once per record.

Given each of the above facts, you can obviously set up a panel that will add a record to an index or file that will effectively set off an alert.

To what degree you will need to create infrastructure to make it work, that depends on the first question I asked.

0 Karma

paimonsoror
Builder

Wow, this is a very cool concept. To answer your question, just a single action so hopefully that makes it easier. I am going to have to mull this one over a bit!

But it sounds like there is goign to be some 'tricks' to get this working vs just a simple 'do my alert now' button.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...