Alerting

How to send alert from a dashboard

sravani27
Path Finder

Hi I want to have a feature where I click a radio button on a dashboard and it sends an alert. Also can anyone help me how to use the sendalert command with an example. thank you

Tags (1)
0 Karma

pradeepkumarg
Influencer

You should run a search on click and use sendemail command to send the email

https://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Sendemail

0 Karma

sravani27
Path Finder

Thank you for the reply. I am trying to use the sendalert command as I want to test the alerting functionality of splunk. Can you please explain the diff between sendalert and sendemail?

0 Karma

pradeepkumarg
Influencer

sendalert is to invoke an alert action. If you have defined one in alert_actions.conf to invoke a script.
https://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Sendalert

sendemail is like a regular email alert

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...