<?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 query the number between a range in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509706#M142470</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have alerts when the number goes above certain % of the disk usage. So there are alerts at 70, 80, 90. It works fine. But when there is a 70% alert, I get alerted twice, because of 70% and also 60% usage.&lt;/P&gt;&lt;P&gt;Here is what the query looks like. I am trying to keep the alert segmented to query the number only between 60-69.99 and 70.00-79.99 and so on.&lt;/P&gt;&lt;P&gt;aws_account="cloud" "DSM: Current disk usage for account" (account_disk_quota &amp;gt; 70 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jul 2020 13:45:42 GMT</pubDate>
    <dc:creator>deepakaakula</dc:creator>
    <dc:date>2020-07-17T13:45:42Z</dc:date>
    <item>
      <title>query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509706#M142470</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have alerts when the number goes above certain % of the disk usage. So there are alerts at 70, 80, 90. It works fine. But when there is a 70% alert, I get alerted twice, because of 70% and also 60% usage.&lt;/P&gt;&lt;P&gt;Here is what the query looks like. I am trying to keep the alert segmented to query the number only between 60-69.99 and 70.00-79.99 and so on.&lt;/P&gt;&lt;P&gt;aws_account="cloud" "DSM: Current disk usage for account" (account_disk_quota &amp;gt; 70 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 13:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509706#M142470</guid>
      <dc:creator>deepakaakula</dc:creator>
      <dc:date>2020-07-17T13:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509737#M142474</link>
      <description>&lt;P&gt;I don't understand why you are getting alerts about 60 when the alert clearly looks for values greater than 70.&lt;/P&gt;&lt;P&gt;Try this method for looking for values within a range.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;aws_account="cloud" "DSM: Current disk usage for account" (account_disk_quota &amp;gt; 70 AND account_disk_quota &amp;lt; 80 )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 17 Jul 2020 15:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509737#M142474</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-17T15:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509755#M142479</link>
      <description>&lt;P&gt;Thanks Rich. I have 4 different alerts with same query for 60, 70, 80, 90%. I just mentioned one of it here.&lt;/P&gt;&lt;P&gt;So when 90% is triggered, I get alerted 4 times.&lt;BR /&gt;&lt;BR /&gt;I tried the query you gave with and operation. It did not seems to work.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 16:59:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509755#M142479</guid>
      <dc:creator>deepakaakula</dc:creator>
      <dc:date>2020-07-17T16:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509758#M142480</link>
      <description>Please explain "it did not seems to work". Did it work or did it not? What results did you get? What did you expect to get?</description>
      <pubDate>Fri, 17 Jul 2020 17:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509758#M142480</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-17T17:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509761#M142482</link>
      <description>&lt;P&gt;sorry, please ignore my last message. I was querying it for different profile, and I got 0 events back.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked with the correct profile, and it worked perfectly now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 17:30:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/509761#M142482</guid>
      <dc:creator>deepakaakula</dc:creator>
      <dc:date>2020-07-17T17:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/511871#M143532</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought the alert seems to be working fine,&amp;nbsp; but today the disk usage hit 70%, but the alert has triggered twice. once for the 70% as expected, and also the 60% one. These are the queries I have right now.&lt;/P&gt;&lt;P&gt;Do you recommend any modifications?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;60% threshold query:&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;STRONG&gt;aws_account="cloud" "DSM: Current disk usage for account" (account_disk_quota &amp;gt; 60 AND account_disk_quota &amp;lt; 70 )&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;70% query:&amp;nbsp;&amp;nbsp; "&lt;STRONG&gt;aws_account="cloud" "DSM: Current disk usage for account" (account_disk_quota &amp;gt; 70 AND account_disk_quota &amp;lt; 80 )&lt;/STRONG&gt;"&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 01:09:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/511871#M143532</guid>
      <dc:creator>deepakaakula</dc:creator>
      <dc:date>2020-07-31T01:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/511923#M143548</link>
      <description>This seems normal to me. On the way to 70% usage, the disk would reach 60% usage, would it not?</description>
      <pubDate>Fri, 31 Jul 2020 13:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/511923#M143548</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-31T13:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/511924#M143549</link>
      <description>&lt;P&gt;Right, but the disk was at 60% from last 2 weeks, and yesterday evening it reached 70%.&lt;BR /&gt;So every time there is an increase in the 70% range, I get alerted twice from 60% and 70% monitors.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 13:21:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/511924#M143549</guid>
      <dc:creator>deepakaakula</dc:creator>
      <dc:date>2020-07-31T13:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: query the number between a range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/511939#M143554</link>
      <description>I think I understand, but I don't have a suggestion. Sorry.</description>
      <pubDate>Fri, 31 Jul 2020 14:44:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-the-number-between-a-range/m-p/511939#M143554</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-31T14:44:33Z</dc:date>
    </item>
  </channel>
</rss>

