<?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: Search Alert Creation and Scheduling in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608038#M14101</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207926"&gt;@anandhalagaras1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have to create a simple search like the ones you shared&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc sourcetype=xyz host=mno "load is high" earliest=-80m@m latest=now&lt;/LI-CODE&gt;&lt;P&gt;and schedule it to execute every hour and trigger when there's no result.&lt;/P&gt;&lt;P&gt;Only one thing: I don't like to have a frequency different than time window because you could have two triggers or the same event, so I hint to use 60 minutes both for frequency and time window.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2022 08:38:56 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-08-03T08:38:56Z</dc:date>
    <item>
      <title>How do I schedule and create a Search Alert?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608024#M14100</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I have a requirement for alert creating and scheduling the same in Splunk.&lt;/P&gt;
&lt;P&gt;So for this below mentioned query :&lt;/P&gt;
&lt;P&gt;"index=abc sourcetype=xyz host=mno "load is high"&lt;/P&gt;
&lt;P&gt;There would be only one event exactly present for every one hour i.e. (every 60 minutes) for this query so our requirement is that if there is no event for 1 hour and 10 minutes (i.e. 80 minutes) then it needs to trigger an email to the recipients.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So how to achieve this in alert configuration and how should i need to schedule the cron as well &amp;amp; also what should be the time range should i need to choose as well and what would be the trigger condition we need to set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So kindly help on the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 15:17:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608024#M14100</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2022-08-03T15:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search Alert Creation and Scheduling</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608038#M14101</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207926"&gt;@anandhalagaras1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have to create a simple search like the ones you shared&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc sourcetype=xyz host=mno "load is high" earliest=-80m@m latest=now&lt;/LI-CODE&gt;&lt;P&gt;and schedule it to execute every hour and trigger when there's no result.&lt;/P&gt;&lt;P&gt;Only one thing: I don't like to have a frequency different than time window because you could have two triggers or the same event, so I hint to use 60 minutes both for frequency and time window.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 08:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608038#M14101</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-08-03T08:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search Alert Creation and Scheduling</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608039#M14102</link>
      <description>&lt;P&gt;Thank you for your swift response.&lt;/P&gt;&lt;P&gt;So I have created the query as below:&lt;/P&gt;&lt;P&gt;index=abc sourcetype=xyz host=mno "load is high" earliest=-80m@m latest=now&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And after which when i click to save as Alert.&lt;/P&gt;&lt;P&gt;I need to provide the Alert type as Scheduled and if i choose to run as cron schedule&lt;/P&gt;&lt;P&gt;Run On Cron Schedule&lt;/P&gt;&lt;P&gt;Time Range : Last 60 minutes&lt;/P&gt;&lt;P&gt;Cron Expression :&amp;nbsp;0 * * * *&lt;/P&gt;&lt;P&gt;Trigger Conditions&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trigger Alert When : Number of Results&lt;/P&gt;&lt;P&gt;Is equal to 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So that if the keyword is not getting updated for 80 minutes it will through an alert? Correct me if i am wrong.&lt;/P&gt;&lt;P&gt;So will this be fine Kindly update please.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 08:54:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608039#M14102</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2022-08-03T08:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Search Alert Creation and Scheduling</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608040#M14103</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your swift response.&lt;/P&gt;&lt;P&gt;So I have created the query as below:&lt;/P&gt;&lt;P&gt;index=abc sourcetype=xyz host=mno "load is high" earliest=-80m@m latest=now&lt;/P&gt;&lt;P&gt;And after which when i click to save as Alert.&lt;/P&gt;&lt;P&gt;I need to provide the Alert type as Scheduled and if i choose to run as cron schedule&lt;/P&gt;&lt;P&gt;Run On Cron Schedule&lt;/P&gt;&lt;P&gt;Time Range : Last 60 minutes&lt;/P&gt;&lt;P&gt;Cron Expression : 0 * * * *&lt;/P&gt;&lt;P&gt;Trigger Conditions&lt;/P&gt;&lt;P&gt;Trigger Alert When : Number of Results&lt;/P&gt;&lt;P&gt;Is equal to 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So that if the keyword is not getting updated for 80 minutes it will through an alert? Correct me if i am wrong.&lt;/P&gt;&lt;P&gt;So will this be fine Kindly update please.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 08:55:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608040#M14103</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2022-08-03T08:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Search Alert Creation and Scheduling</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608044#M14104</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207926"&gt;@anandhalagaras1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the Trigger Condition: if there isn't any result in the search the alert triggers.&lt;/P&gt;&lt;P&gt;Think about what I said about time period!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 09:09:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-schedule-and-create-a-Search-Alert/m-p/608044#M14104</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-08-03T09:09:01Z</dc:date>
    </item>
  </channel>
</rss>

