<?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: How to create email alert? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586543#M13526</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/189754"&gt;@mnj1809&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if I correctly understood, you want to schedule:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;an alert at 9.00 AM using as time period 17 hours (from 12.00 of previous day to 5.00 of present day),&lt;/LI&gt;&lt;LI&gt;an alert at 15.00 using as time period 7 hours&amp;nbsp;(from 5.00 of present day to 12.00 of present day).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is it correct?&lt;/P&gt;&lt;P&gt;If the time period is the same 8always 12 hours) you could schedule only one alert&amp;nbsp;using this cron expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 9,15 * * *&lt;/LI-CODE&gt;&lt;P&gt;Otherwise, you have to schedule two alerts that differ only for the time period, in other words:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alert 1, scheduled at 9.00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cron&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 9 * * *&lt;/LI-CODE&gt;&lt;P&gt;Search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index earliest=-21h@h latest=-4h@h&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;Alert 2, scheduled at 15.00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cron&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 15 * * *&lt;/LI-CODE&gt;&lt;P&gt;search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index earliest=-10h@h latest=-3h@h&lt;/LI-CODE&gt;&lt;P&gt;The condition is always&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;results=0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 07:04:52 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-02-25T07:04:52Z</dc:date>
    <item>
      <title>How to create email alert?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586492#M13525</link>
      <description>&lt;P&gt;I supposed to get the some data in Splunk twice in a day. I want to create 2 email alerts as follows:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;9 AM email alert: should alert if no data received at 5 AM and/or if no data received previous day at noon.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;3 PM email alert: should alert if no data received at noon and/or if no data received earlier the same morning at 5.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 24 Feb 2022 22:19:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586492#M13525</guid>
      <dc:creator>mnj1809</dc:creator>
      <dc:date>2022-02-24T22:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create email alert?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586543#M13526</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/189754"&gt;@mnj1809&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if I correctly understood, you want to schedule:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;an alert at 9.00 AM using as time period 17 hours (from 12.00 of previous day to 5.00 of present day),&lt;/LI&gt;&lt;LI&gt;an alert at 15.00 using as time period 7 hours&amp;nbsp;(from 5.00 of present day to 12.00 of present day).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is it correct?&lt;/P&gt;&lt;P&gt;If the time period is the same 8always 12 hours) you could schedule only one alert&amp;nbsp;using this cron expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 9,15 * * *&lt;/LI-CODE&gt;&lt;P&gt;Otherwise, you have to schedule two alerts that differ only for the time period, in other words:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alert 1, scheduled at 9.00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cron&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 9 * * *&lt;/LI-CODE&gt;&lt;P&gt;Search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index earliest=-21h@h latest=-4h@h&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;Alert 2, scheduled at 15.00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cron&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 15 * * *&lt;/LI-CODE&gt;&lt;P&gt;search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index earliest=-10h@h latest=-3h@h&lt;/LI-CODE&gt;&lt;P&gt;The condition is always&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;results=0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 07:04:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586543#M13526</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-25T07:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create email alert?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586782#M13527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/189754"&gt;@mnj1809&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 07:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586782#M13527</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-28T07:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create email alert?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586783#M13528</link>
      <description>&lt;P&gt;Thanks for you answer. Your answer helped me what I want to achieve.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 07:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-email-alert/m-p/586783#M13528</guid>
      <dc:creator>mnj1809</dc:creator>
      <dc:date>2022-02-28T07:58:33Z</dc:date>
    </item>
  </channel>
</rss>

