<?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 sum(time) in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-based-on-sum-time/m-p/37121#M413</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a query for 1 hour as:&lt;/P&gt;

&lt;P&gt;"Search String" sourcetype="XX" source="XX" | stats sum(time) by host&lt;/P&gt;

&lt;P&gt;I have 2 hosts and i see&lt;/P&gt;

&lt;P&gt;host1  28.7&lt;BR /&gt;
host2  45.9&lt;/P&gt;

&lt;P&gt;I need to set an alert if any of these host values reach 100. Any pointers?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2012 16:11:34 GMT</pubDate>
    <dc:creator>aniketb</dc:creator>
    <dc:date>2012-08-16T16:11:34Z</dc:date>
    <item>
      <title>Alert based on sum(time)</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-based-on-sum-time/m-p/37121#M413</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a query for 1 hour as:&lt;/P&gt;

&lt;P&gt;"Search String" sourcetype="XX" source="XX" | stats sum(time) by host&lt;/P&gt;

&lt;P&gt;I have 2 hosts and i see&lt;/P&gt;

&lt;P&gt;host1  28.7&lt;BR /&gt;
host2  45.9&lt;/P&gt;

&lt;P&gt;I need to set an alert if any of these host values reach 100. Any pointers?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2012 16:11:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-based-on-sum-time/m-p/37121#M413</guid>
      <dc:creator>aniketb</dc:creator>
      <dc:date>2012-08-16T16:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alert based on sum(time)</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-based-on-sum-time/m-p/37122#M414</link>
      <description>&lt;P&gt;You can use where to filter the results&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"Search String" sourcetype="XX" source="XX" | stats sum(time) as duration by host | where duration &amp;gt;= 100
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or if you wan to keep the smaller results you can set a custom condition in the alert settingss to be &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;where duration &amp;gt;= 100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Aug 2012 16:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-based-on-sum-time/m-p/37122#M414</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2012-08-16T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alert based on sum(time)</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-based-on-sum-time/m-p/37123#M415</link>
      <description>&lt;P&gt;Thanks BobM!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-based-on-sum-time/m-p/37123#M415</guid>
      <dc:creator>aniketb</dc:creator>
      <dc:date>2012-08-16T17:27:15Z</dc:date>
    </item>
  </channel>
</rss>

