Alerting

Alert Action "Run a script" depreciated - Looking for similar option

kamal_jagga
Contributor

Objective: Send the search result url to a central location whenever an alert is triggered.

Current Sol: Trigger alert action script whenever no of events>0

Current Shell Script :
read sessionKey
echo "'$SPLUNK_ARG_0' '$4' '$6' '$sessionKey'" >> \
"/opt/splunk/output.txt"

I know Splunk has given "Convert a script alert action to a custom alert action" option.

But its not that clear and I don't want to modify each search query to add the sendresults option.

Link: http://docs.splunk.com/Documentation/Splunk/7.0.2/AdvancedDev/CustomAlertConvertScripted

kindly advise.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...