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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...