Alerting

add to alert script output

hugo_vazquez
Explorer

Can I configure an alert to run a custom script and then send an email with the output?

Tags (1)
0 Karma
1 Solution

493669
Super Champion

"run a script" action is deprecated i.e. alerts that triggered scripts to run .Custom alert actions have replaced them and can do the same and more, with a better user experience.If you have a scripted alert that you want to convert, try following these docs to create an alert action using the script you already have. http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ModAlertsIntro
also refer https://answers.splunk.com/answers/474448/how-to-run-a-script-as-an-alert-action.html

View solution in original post

0 Karma

493669
Super Champion

"run a script" action is deprecated i.e. alerts that triggered scripts to run .Custom alert actions have replaced them and can do the same and more, with a better user experience.If you have a scripted alert that you want to convert, try following these docs to create an alert action using the script you already have. http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ModAlertsIntro
also refer https://answers.splunk.com/answers/474448/how-to-run-a-script-as-an-alert-action.html

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...