<?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 Alert Based on the output results in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485055#M12745</link>
    <description>&lt;P&gt;Hello Experts ,&lt;BR /&gt;
I have a splunk query which is giving me average response time using the  filed "process_time".&lt;BR /&gt;
I want to create an Alert when output of this query is &amp;gt; 2 seconds. Please advice , how I could setup this alert.&lt;BR /&gt;
I tried multiple options they didint work. I tried to add | where process_time &amp;gt; 2. but this option didnt work.&lt;/P&gt;

&lt;P&gt;query | stats avg(process_time)&lt;/P&gt;

&lt;P&gt;Output : &lt;BR /&gt;
avg(process_time)&lt;BR /&gt;
0.07894736842105263&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:15:04 GMT</pubDate>
    <dc:creator>kirangurram</dc:creator>
    <dc:date>2020-09-30T02:15:04Z</dc:date>
    <item>
      <title>Alert Based on the output results</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485055#M12745</link>
      <description>&lt;P&gt;Hello Experts ,&lt;BR /&gt;
I have a splunk query which is giving me average response time using the  filed "process_time".&lt;BR /&gt;
I want to create an Alert when output of this query is &amp;gt; 2 seconds. Please advice , how I could setup this alert.&lt;BR /&gt;
I tried multiple options they didint work. I tried to add | where process_time &amp;gt; 2. but this option didnt work.&lt;/P&gt;

&lt;P&gt;query | stats avg(process_time)&lt;/P&gt;

&lt;P&gt;Output : &lt;BR /&gt;
avg(process_time)&lt;BR /&gt;
0.07894736842105263&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:15:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485055#M12745</guid>
      <dc:creator>kirangurram</dc:creator>
      <dc:date>2020-09-30T02:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Based on the output results</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485056#M12746</link>
      <description>&lt;P&gt;@kirangurram &lt;BR /&gt;
try this&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;query | stats avg(process_time) as  process_time | where process_time &amp;gt; 2&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 13:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485056#M12746</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-09-23T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Based on the output results</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485057#M12747</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Please try below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yourSearch&amp;gt; 
| stats avg(process_time) as avg_process_time
| where avg_process_time &amp;gt; 2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Sep 2019 13:27:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485057#M12747</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-09-23T13:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Based on the output results</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485058#M12748</link>
      <description>&lt;P&gt;This works like a charm ... Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 13:38:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485058#M12748</guid>
      <dc:creator>kirangurram</dc:creator>
      <dc:date>2019-09-23T13:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Based on the output results</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485059#M12749</link>
      <description>&lt;P&gt;This works like a charm ... Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 13:38:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-Based-on-the-output-results/m-p/485059#M12749</guid>
      <dc:creator>kirangurram</dc:creator>
      <dc:date>2019-09-23T13:38:21Z</dc:date>
    </item>
  </channel>
</rss>

