<?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 Conditional alerting examples? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Conditional-alerting-examples/m-p/68438#M943</link>
    <description>&lt;P&gt;I'm trying to set up a conditional alert where if there are less than 50 results but greater than 0 results, I want to be alerted.  It seems straightforward but I can't figure out the syntax of the condition to use.  The following does not work, for example:&lt;/P&gt;

&lt;P&gt;mysearch | stats count dc(memberUid)&lt;/P&gt;

&lt;P&gt;condition:  0 &amp;lt; dc(memberUid) &amp;lt; 50&lt;/P&gt;</description>
    <pubDate>Mon, 11 Oct 2010 23:11:46 GMT</pubDate>
    <dc:creator>the_wolverine</dc:creator>
    <dc:date>2010-10-11T23:11:46Z</dc:date>
    <item>
      <title>Conditional alerting examples?</title>
      <link>https://community.splunk.com/t5/Alerting/Conditional-alerting-examples/m-p/68438#M943</link>
      <description>&lt;P&gt;I'm trying to set up a conditional alert where if there are less than 50 results but greater than 0 results, I want to be alerted.  It seems straightforward but I can't figure out the syntax of the condition to use.  The following does not work, for example:&lt;/P&gt;

&lt;P&gt;mysearch | stats count dc(memberUid)&lt;/P&gt;

&lt;P&gt;condition:  0 &amp;lt; dc(memberUid) &amp;lt; 50&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2010 23:11:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Conditional-alerting-examples/m-p/68438#M943</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-10-11T23:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional alerting examples?</title>
      <link>https://community.splunk.com/t5/Alerting/Conditional-alerting-examples/m-p/68439#M944</link>
      <description>&lt;P&gt;Try renaming your distinct count field.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;mysearch | stats count dc(memberUid) as dc_uid
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;condition: &lt;CODE&gt;0 &amp;lt; dc_uid &amp;lt; 50&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2010 23:17:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Conditional-alerting-examples/m-p/68439#M944</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-10-11T23:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional alerting examples?</title>
      <link>https://community.splunk.com/t5/Alerting/Conditional-alerting-examples/m-p/68440#M945</link>
      <description>&lt;P&gt;That worked.  Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2010 23:23:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Conditional-alerting-examples/m-p/68440#M945</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-10-11T23:23:09Z</dc:date>
    </item>
  </channel>
</rss>

