<?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: Cron or Time Period in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338620#M5981</link>
    <description>&lt;P&gt;You already have a condition in your query &lt;CODE&gt;where count &amp;gt; 10&lt;/CODE&gt;, so your query will return a result only if count is &amp;gt; 10.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2017 09:49:55 GMT</pubDate>
    <dc:creator>dineshraj9</dc:creator>
    <dc:date>2017-06-07T09:49:55Z</dc:date>
    <item>
      <title>Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338614#M5975</link>
      <description>&lt;P&gt;sourcetype=marketops_cmva_extract_generator ORA-08103 | stats count | where count &amp;gt;10 &lt;/P&gt;

&lt;P&gt;I have the above search and I want to know the best way to alert for when I have  10 entries in the last hour&lt;/P&gt;

&lt;P&gt;I set a cron in the alert set up to look at last hour and relative time in search for last hour &lt;/P&gt;

&lt;P&gt;Seems it won't save when you have a cron and the hour setting in relative time&lt;/P&gt;

&lt;P&gt;whats the best way to do this please?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:23:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338614#M5975</guid>
      <dc:creator>nijwoolley</dc:creator>
      <dc:date>2020-09-29T14:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338615#M5976</link>
      <description>&lt;P&gt;Make sure you're actually using relative time like &lt;CODE&gt;-1h&lt;/CODE&gt; and not real-time like &lt;CODE&gt;rt-1h&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;For more detailed help do share your actual settings that fail, and what message you get when they fail.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 09:21:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338615#M5976</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2017-06-07T09:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338616#M5977</link>
      <description>&lt;P&gt;Your query will return results only when the count is &amp;gt; 10 because of the where condition -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=marketops_cmva_extract_generator ORA-08103 | stats count | where count &amp;gt;10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Run this for &lt;CODE&gt;-1h@h to @h&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;and set the cron as &lt;CODE&gt;0 * * * *&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;condition as number of events &amp;gt; 0&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 09:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338616#M5977</guid>
      <dc:creator>dineshraj9</dc:creator>
      <dc:date>2017-06-07T09:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338617#M5978</link>
      <description>&lt;P&gt;Thanks &lt;/P&gt;

&lt;P&gt;What time search period should I use ?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 09:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338617#M5978</guid>
      <dc:creator>nijwoolley</dc:creator>
      <dc:date>2017-06-07T09:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338618#M5979</link>
      <description>&lt;P&gt;You have to run it every hour on top of the hour -&lt;/P&gt;

&lt;P&gt;Run this for &lt;CODE&gt;-1h@h to @h&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 09:30:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338618#M5979</guid>
      <dc:creator>dineshraj9</dc:creator>
      <dc:date>2017-06-07T09:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338619#M5980</link>
      <description>&lt;P&gt;I only want it to alert when &amp;gt;10 of these errors so why use "condition as number of events &amp;gt; 0"?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 09:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338619#M5980</guid>
      <dc:creator>nijwoolley</dc:creator>
      <dc:date>2017-06-07T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338620#M5981</link>
      <description>&lt;P&gt;You already have a condition in your query &lt;CODE&gt;where count &amp;gt; 10&lt;/CODE&gt;, so your query will return a result only if count is &amp;gt; 10.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 09:49:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338620#M5981</guid>
      <dc:creator>dineshraj9</dc:creator>
      <dc:date>2017-06-07T09:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338621#M5982</link>
      <description>&lt;P&gt;Ok cheers &lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 09:57:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338621#M5982</guid>
      <dc:creator>nijwoolley</dc:creator>
      <dc:date>2017-06-07T09:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cron or Time Period</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338622#M5983</link>
      <description>&lt;P&gt;Great! Please accept the answer and upvote any comment that has helped you arrive at a solution.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 10:11:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-or-Time-Period/m-p/338622#M5983</guid>
      <dc:creator>dineshraj9</dc:creator>
      <dc:date>2017-06-07T10:11:02Z</dc:date>
    </item>
  </channel>
</rss>

