<?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: Greater Than &amp; Less Than or Equal To in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Greater-Than-Less-Than-or-Equal-To/m-p/266799#M80238</link>
    <description>&lt;P&gt;You are missing the duration variable in your second case statement:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval groupduration=case(duration&amp;lt;=300, "&amp;lt;5 minutes", duration&amp;gt;300 AND duration&amp;lt;=600, "Between 5 &amp;amp; 10 Minutes")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 04 Feb 2016 12:24:00 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-02-04T12:24:00Z</dc:date>
    <item>
      <title>Greater Than &amp; Less Than or Equal To</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Greater-Than-Less-Than-or-Equal-To/m-p/266798#M80237</link>
      <description>&lt;P&gt;Hi, I wonder whether someone may be able to help me please.&lt;/P&gt;

&lt;P&gt;I've created the line below which is part of a bigger query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval groupduration=case(duration&amp;lt;=300,"&amp;lt;5 minutes", &amp;gt;300 AND &amp;lt;=600, "Between 5 &amp;amp; 10 Minutes")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem I have is around this part &amp;gt;300 AND &amp;lt;=600, where I would like say where "The value is greater than 300 But Less Than Or Equal to 600".&lt;/P&gt;

&lt;P&gt;I've spent quite a while searching for a solution, but I've been unable to find one.&lt;/P&gt;

&lt;P&gt;I just wondered whether someone may be able to look at this please and let me know where I've gone wrong.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 12:11:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Greater-Than-Less-Than-or-Equal-To/m-p/266798#M80237</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2016-02-04T12:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than &amp; Less Than or Equal To</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Greater-Than-Less-Than-or-Equal-To/m-p/266799#M80238</link>
      <description>&lt;P&gt;You are missing the duration variable in your second case statement:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval groupduration=case(duration&amp;lt;=300, "&amp;lt;5 minutes", duration&amp;gt;300 AND duration&amp;lt;=600, "Between 5 &amp;amp; 10 Minutes")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Feb 2016 12:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Greater-Than-Less-Than-or-Equal-To/m-p/266799#M80238</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-02-04T12:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than &amp; Less Than or Equal To</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Greater-Than-Less-Than-or-Equal-To/m-p/266800#M80239</link>
      <description>&lt;P&gt;Hi @javiergn, thank you for this, I knew it would be something simple.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 12:39:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Greater-Than-Less-Than-or-Equal-To/m-p/266800#M80239</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2016-02-04T12:39:19Z</dc:date>
    </item>
  </channel>
</rss>

