<?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 Log Volume Monitoring in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Log-Volume-Monitoring/m-p/534232#M150975</link>
    <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;&lt;P&gt;Happy Holidays!!!.&lt;/P&gt;&lt;P&gt;I am trying to create a dashboard on Log Volume Monitoring. I am using ML Toolkit and need help with my search.&lt;/P&gt;&lt;P&gt;| tstats count WHERE index=index_name BY index _time span=1h&lt;BR /&gt;| eval date=strftime(_time,"%m/%d/%Y")&lt;BR /&gt;| lookup Paid_Holidays.csv holiday_date as date OUTPUT is_holiday&lt;BR /&gt;| eval day_of_week = strftime(_time,"%A")&lt;BR /&gt;| where NOT (day_of_week="Saturday" OR day_of_week="Sunday")&lt;BR /&gt;| where NOT is_holiday=1&lt;BR /&gt;| `forecastviz(245, 240, "count", 93)`&lt;BR /&gt;| eval isOutlier = if(prediction!="" AND 'count' != "" AND ('count' &amp;lt; 'lower95(prediction)' OR 'count' &amp;gt; 'upper95(prediction)'), 1, 0)&lt;BR /&gt;| where isOutlier=1&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;| eval today = relative_time(now(),"-1h@h")&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;| where isOutlier=1 AND _time &amp;gt;= today&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;| where count &amp;lt; 'lower95(prediction)'&lt;BR /&gt;| fields - isOutlier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The highlighted and underlined part is where I am having issue. I need to alert only when the count is less than the predicted in the next hour as well. The current scenario alerts frequently and I need to constrict it so it alerts only when the count is less continuously for the next hour as well. Can someone help me with my query?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Dec 2020 14:34:20 GMT</pubDate>
    <dc:creator>dwibedi03</dc:creator>
    <dc:date>2020-12-28T14:34:20Z</dc:date>
    <item>
      <title>Log Volume Monitoring</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Log-Volume-Monitoring/m-p/534232#M150975</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;&lt;P&gt;Happy Holidays!!!.&lt;/P&gt;&lt;P&gt;I am trying to create a dashboard on Log Volume Monitoring. I am using ML Toolkit and need help with my search.&lt;/P&gt;&lt;P&gt;| tstats count WHERE index=index_name BY index _time span=1h&lt;BR /&gt;| eval date=strftime(_time,"%m/%d/%Y")&lt;BR /&gt;| lookup Paid_Holidays.csv holiday_date as date OUTPUT is_holiday&lt;BR /&gt;| eval day_of_week = strftime(_time,"%A")&lt;BR /&gt;| where NOT (day_of_week="Saturday" OR day_of_week="Sunday")&lt;BR /&gt;| where NOT is_holiday=1&lt;BR /&gt;| `forecastviz(245, 240, "count", 93)`&lt;BR /&gt;| eval isOutlier = if(prediction!="" AND 'count' != "" AND ('count' &amp;lt; 'lower95(prediction)' OR 'count' &amp;gt; 'upper95(prediction)'), 1, 0)&lt;BR /&gt;| where isOutlier=1&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;| eval today = relative_time(now(),"-1h@h")&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;| where isOutlier=1 AND _time &amp;gt;= today&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;| where count &amp;lt; 'lower95(prediction)'&lt;BR /&gt;| fields - isOutlier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The highlighted and underlined part is where I am having issue. I need to alert only when the count is less than the predicted in the next hour as well. The current scenario alerts frequently and I need to constrict it so it alerts only when the count is less continuously for the next hour as well. Can someone help me with my query?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 14:34:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Log-Volume-Monitoring/m-p/534232#M150975</guid>
      <dc:creator>dwibedi03</dc:creator>
      <dc:date>2020-12-28T14:34:20Z</dc:date>
    </item>
  </channel>
</rss>

