<?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: alert setup in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/alert-setup/m-p/521923#M9744</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226874"&gt;@koushik&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand: why do you want two alerts if you have to check that you haven't logs in a period?&lt;/P&gt;&lt;P&gt;you could have two alerts if you have a different threeshold in the two periods, but you have to check only if there are logs, so I think that you don't need two alerts.&lt;/P&gt;&lt;P&gt;Anyway, if you want two alerts, you have to follow two times this procedure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create the search using the timeframe you want in the alert (e.g. 30 minutes),&lt;/LI&gt;&lt;LI&gt;Save as - Alert&lt;/LI&gt;&lt;LI&gt;add the following infos:&lt;UL&gt;&lt;LI&gt;Title - mnemonic name of your alert,&lt;/LI&gt;&lt;LI&gt;Description (optional) - a description of your alert to remember it,&lt;/LI&gt;&lt;LI&gt;Permission: shared in App - kind of permission of your alert,&lt;/LI&gt;&lt;LI&gt;Alert Type: Scheduled - don't use real time because it't too expensive in terms of resources&lt;/LI&gt;&lt;LI&gt;Run on cron schedule - scheduling the alert execution&lt;/LI&gt;&lt;LI&gt;Time range - 30 minutes&lt;/LI&gt;&lt;LI&gt;Cron expression: */30 * * * * - it means run every 30 minuts&lt;/LI&gt;&lt;LI&gt;Expires 24 hours - time that the search results are available&lt;/LI&gt;&lt;LI&gt;trigger aler when Number of results - trigger condition&lt;/LI&gt;&lt;LI&gt;is equal to 0 - trigger if no results&lt;/LI&gt;&lt;LI&gt;trigger once - only one alert&lt;/LI&gt;&lt;LI&gt;Trigger actions: Add alert - add the actions to associate to you alert (email, script, etc...), add always the "Add to triggered alerts" action&lt;/LI&gt;&lt;LI&gt;Save&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you want two alerts, the only difference between them is the cron expression and/or eventually the message in the eMail:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;*/30 1-6 * * *&lt;/LI&gt;&lt;LI&gt;*/30 7-24 * * *&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 06:27:36 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-09-29T06:27:36Z</dc:date>
    <item>
      <title>alert setup</title>
      <link>https://community.splunk.com/t5/Alerting/alert-setup/m-p/521913#M9743</link>
      <description>&lt;P&gt;I would like to setup 2 alerts whenever no hits during the period . one is peak hours from 6am-01am and another one is non peak hours 01am-6am&amp;nbsp;&lt;/P&gt;&lt;P&gt;each alert should trigger every 30 mins during these period .&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 03:02:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert-setup/m-p/521913#M9743</guid>
      <dc:creator>koushik</dc:creator>
      <dc:date>2020-09-29T03:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: alert setup</title>
      <link>https://community.splunk.com/t5/Alerting/alert-setup/m-p/521923#M9744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226874"&gt;@koushik&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand: why do you want two alerts if you have to check that you haven't logs in a period?&lt;/P&gt;&lt;P&gt;you could have two alerts if you have a different threeshold in the two periods, but you have to check only if there are logs, so I think that you don't need two alerts.&lt;/P&gt;&lt;P&gt;Anyway, if you want two alerts, you have to follow two times this procedure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create the search using the timeframe you want in the alert (e.g. 30 minutes),&lt;/LI&gt;&lt;LI&gt;Save as - Alert&lt;/LI&gt;&lt;LI&gt;add the following infos:&lt;UL&gt;&lt;LI&gt;Title - mnemonic name of your alert,&lt;/LI&gt;&lt;LI&gt;Description (optional) - a description of your alert to remember it,&lt;/LI&gt;&lt;LI&gt;Permission: shared in App - kind of permission of your alert,&lt;/LI&gt;&lt;LI&gt;Alert Type: Scheduled - don't use real time because it't too expensive in terms of resources&lt;/LI&gt;&lt;LI&gt;Run on cron schedule - scheduling the alert execution&lt;/LI&gt;&lt;LI&gt;Time range - 30 minutes&lt;/LI&gt;&lt;LI&gt;Cron expression: */30 * * * * - it means run every 30 minuts&lt;/LI&gt;&lt;LI&gt;Expires 24 hours - time that the search results are available&lt;/LI&gt;&lt;LI&gt;trigger aler when Number of results - trigger condition&lt;/LI&gt;&lt;LI&gt;is equal to 0 - trigger if no results&lt;/LI&gt;&lt;LI&gt;trigger once - only one alert&lt;/LI&gt;&lt;LI&gt;Trigger actions: Add alert - add the actions to associate to you alert (email, script, etc...), add always the "Add to triggered alerts" action&lt;/LI&gt;&lt;LI&gt;Save&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you want two alerts, the only difference between them is the cron expression and/or eventually the message in the eMail:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;*/30 1-6 * * *&lt;/LI&gt;&lt;LI&gt;*/30 7-24 * * *&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:27:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert-setup/m-p/521923#M9744</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T06:27:36Z</dc:date>
    </item>
  </channel>
</rss>

