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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...