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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...