<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Difference between script alert action and custom alert action in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234040#M4370</link>
    <description>&lt;P&gt;I'm also looking for how to get the environment variables into my alert action script.  Has anyone had success with this?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2017 19:33:02 GMT</pubDate>
    <dc:creator>jef152</dc:creator>
    <dc:date>2017-11-13T19:33:02Z</dc:date>
    <item>
      <title>Difference between script alert action and custom alert action</title>
      <link>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234037#M4367</link>
      <description>&lt;P&gt;What is exactly the difference between a script alert action and a custom alert action?&lt;/P&gt;

&lt;P&gt;On &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Alert/ConfiguringScriptedAlerts"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Alert/ConfiguringScriptedAlerts&lt;/A&gt; I can read that script alert action are deprecated.&lt;/P&gt;

&lt;P&gt;If I have a script alert action. What ist the way to create a custom alert action?&lt;/P&gt;

&lt;P&gt;Best wishes,&lt;/P&gt;

&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 12:12:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234037#M4367</guid>
      <dc:creator>rhobby</dc:creator>
      <dc:date>2016-11-21T12:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between script alert action and custom alert action</title>
      <link>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234038#M4368</link>
      <description>&lt;P&gt;Scripted alerts, now deprecated, were 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. &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/AdvancedDev/ModAlertsIntro"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/AdvancedDev/ModAlertsIntro&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 22:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234038#M4368</guid>
      <dc:creator>rpille_splunk</dc:creator>
      <dc:date>2016-11-21T22:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between script alert action and custom alert action</title>
      <link>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234039#M4369</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;

&lt;P&gt;I tried to follow these steps. I have a script that tries to fetch the environment variables SPLUNK_ARG_X.&lt;/P&gt;

&lt;P&gt;In the custom alert action they seem to be nonexistent. Unfortunately in the link, provided by you, is no mention of these variables.&lt;/P&gt;

&lt;P&gt;Is it still possible to use these variables?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234039#M4369</guid>
      <dc:creator>rhobby</dc:creator>
      <dc:date>2020-09-29T12:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between script alert action and custom alert action</title>
      <link>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234040#M4370</link>
      <description>&lt;P&gt;I'm also looking for how to get the environment variables into my alert action script.  Has anyone had success with this?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 19:33:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234040#M4370</guid>
      <dc:creator>jef152</dc:creator>
      <dc:date>2017-11-13T19:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between script alert action and custom alert action</title>
      <link>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234041#M4371</link>
      <description>&lt;P&gt;It is documented in the following page here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.3/AdvancedDev/CustomAlertConvertScripted" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.3/AdvancedDev/CustomAlertConvertScripted&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"For custom alert actions, use configuration file parameters to access and pass values to the configuration payload that the alert action receives."&lt;BR /&gt;
Meaning you can't use SPLUNK_ARG_X arguments, these need to be called upon from a configuration file.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Difference-between-script-alert-action-and-custom-alert-action/m-p/234041#M4371</guid>
      <dc:creator>oddsve</dc:creator>
      <dc:date>2020-09-29T17:30:19Z</dc:date>
    </item>
  </channel>
</rss>

