<?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: Run Script Alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Run-Script-Alert/m-p/388900#M6816</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;"Run a script" alert action is deprecated, you need to move to new framework called "Custom Alert Action". Have a look at document &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/AdvancedDev/ModAlertsIntro"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/AdvancedDev/ModAlertsIntro&lt;/A&gt; and you'll get idea.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 08:53:19 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2019-07-16T08:53:19Z</dc:date>
    <item>
      <title>Run Script Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Run-Script-Alert/m-p/388898#M6814</link>
      <description>&lt;P&gt;How to run a script with a alert action?&lt;BR /&gt;
Example I want to disable a Splunk App if the daily license usage is more than 80%, but when I try to run script on that alert it shows that message "&lt;BR /&gt;
&lt;STRONG&gt;The run a script alert action is officially deprecated. Create a custom alert action to package a custom script instead.&lt;/STRONG&gt; &lt;BR /&gt;
"&lt;BR /&gt;
Please guide what is the proper way to do it.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 06:20:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Run-Script-Alert/m-p/388898#M6814</guid>
      <dc:creator>arun_kant_sharm</dc:creator>
      <dc:date>2019-07-16T06:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Run Script Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Run-Script-Alert/m-p/388899#M6815</link>
      <description>&lt;P&gt;I am using below search string: &lt;/P&gt;

&lt;P&gt;source=*license_usage.log type="RolloverSummary" earliest=@d | stats sum(b) AS used max(stacksz) AS quota by _time | eval usedGB=round(used/1024/1024/1024,3) | eval quotaGB=round(quota/1024/1024/1024,3) |   eval percentage=round(usedGB / quotaGB, 3)*100 | table _time usedGB, quotaGB, percentage, used, quota | where  percentage &amp;gt; 80&lt;/P&gt;

&lt;P&gt;What is the right way to trigger script with a alert ? &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Run-Script-Alert/m-p/388899#M6815</guid>
      <dc:creator>arun_kant_sharm</dc:creator>
      <dc:date>2020-09-30T01:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Run Script Alert</title>
      <link>https://community.splunk.com/t5/Alerting/Run-Script-Alert/m-p/388900#M6816</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;"Run a script" alert action is deprecated, you need to move to new framework called "Custom Alert Action". Have a look at document &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/AdvancedDev/ModAlertsIntro"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/AdvancedDev/ModAlertsIntro&lt;/A&gt; and you'll get idea.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 08:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Run-Script-Alert/m-p/388900#M6816</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-07-16T08:53:19Z</dc:date>
    </item>
  </channel>
</rss>

