<?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: Alerting cron Query in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475720#M8391</link>
    <description>&lt;P&gt;Thank you. But I copied it wrong, otherwise I have three *** in my expression cron &lt;/P&gt;

&lt;P&gt;What happens is I get one alert per hour with normal authentication data. What I want is just the logins between 8:00 pm and 7:00 a.m.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2020 14:06:29 GMT</pubDate>
    <dc:creator>numeroinconnu12</dc:creator>
    <dc:date>2020-04-14T14:06:29Z</dc:date>
    <item>
      <title>Alerting cron Query</title>
      <link>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475718#M8389</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a query that controls authentication to an application.&lt;BR /&gt;It is forbidden to connect to the application from 8:00 pm to 7:00 am unless necessary.&lt;BR /&gt;i want to do alert when i have connections from 8:00 pm to 7:00 am.&lt;BR /&gt;i use cron: 00 20,21,22,23,0,1,2,3,4,5,6,7 * * *&lt;BR /&gt;&lt;BR /&gt;but it's not work. can you help me please?&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 22:08:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475718#M8389</guid>
      <dc:creator>numeroinconnu12</dc:creator>
      <dc:date>2020-06-09T22:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting cron Query</title>
      <link>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475719#M8390</link>
      <description>&lt;P&gt;Hello @numeroinconnu123 ,&lt;/P&gt;

&lt;P&gt;you have to add two more asterisks:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;00 20,21,22,23,0,1,2,3,4,5,6,7 * * *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you can actually shorten it to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;0 0-7,20-23 * * *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you can check it here: &lt;A href="https://crontab.guru/#00_20,21,22,23,0,1,2,3,4,5,6,7_*_*_*"&gt;https://crontab.guru/#00_20,21,22,23,0,1,2,3,4,5,6,7_*_*_*&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 13:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475719#M8390</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-14T13:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting cron Query</title>
      <link>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475720#M8391</link>
      <description>&lt;P&gt;Thank you. But I copied it wrong, otherwise I have three *** in my expression cron &lt;/P&gt;

&lt;P&gt;What happens is I get one alert per hour with normal authentication data. What I want is just the logins between 8:00 pm and 7:00 a.m.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 14:06:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475720#M8391</guid>
      <dc:creator>numeroinconnu12</dc:creator>
      <dc:date>2020-04-14T14:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting cron Query</title>
      <link>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475721#M8392</link>
      <description>&lt;P&gt;you can run a search every hour from 9:00pm and 7:00am and report all logins during the last 60 minutes:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;0 21-23,0-7 * * *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This means: “At minute 0 past every hour from 21 through 23 and every hour from 0 through 7.”  Link: &lt;A href="https://crontab.guru/#0_21-23,0-7_*_*_*"&gt;https://crontab.guru/#0_21-23,0-7_*_*_*&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Make sure your splunk search is restricted to the last 60 minutes.&lt;/P&gt;

&lt;P&gt;If it still doesn't work then show your query.&lt;/P&gt;

&lt;P&gt;Let me know how it went&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:30:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475721#M8392</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-14T15:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting cron Query</title>
      <link>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475722#M8393</link>
      <description>&lt;P&gt;Thank you @PavelP it works&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 03:34:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerting-cron-Query/m-p/475722#M8393</guid>
      <dc:creator>numeroinconnu12</dc:creator>
      <dc:date>2020-04-21T03:34:14Z</dc:date>
    </item>
  </channel>
</rss>

