<?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: using rangemap for +/- infinity in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/using-rangemap-for-infinity/m-p/14826#M331</link>
    <description>&lt;P&gt;Awesome.  Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2010 00:57:33 GMT</pubDate>
    <dc:creator>kevintelford</dc:creator>
    <dc:date>2010-06-04T00:57:33Z</dc:date>
    <item>
      <title>using rangemap for +/- infinity</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/using-rangemap-for-infinity/m-p/14824#M329</link>
      <description>&lt;P&gt;I'd like to use the rangemap feature to say
| rangemap field=myDifference low_pos=0-499 med_pos=500-999 high_pos=1000+ low_neg=-499-0 med_neg=-999--500 high_neg=-1000-&lt;/P&gt;

&lt;P&gt;Now I can do the negative side or the positive side, making my high value the default, and just looking for the other two.
| rangemap field=myDifference low_pos=0-499 med_pos=500-999 default=high_pos&lt;/P&gt;

&lt;P&gt;I can also just bastardize it saying
| rangemap field=myDifference low_pos=0-499 med_pos=500-999 high_pos=1000-9999999999999 low_neg=-499-0 med_neg=-999--500 high_neg=-9999999999999--1000&lt;/P&gt;

&lt;P&gt;But is there any way to do the above setting high_pos to 1000+ and high_neg to -1000- ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2010 22:34:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/using-rangemap-for-infinity/m-p/14824#M329</guid>
      <dc:creator>kevintelford</dc:creator>
      <dc:date>2010-06-03T22:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: using rangemap for +/- infinity</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/using-rangemap-for-infinity/m-p/14825#M330</link>
      <description>&lt;P&gt;You must be explicit with rangemap. It's a python command, so you could modify it yourself to accommodate this configuration. Alternately, you can use the "case" function in the "eval" command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval range = case(myDifference &amp;lt; -1000, "high_neg", myDifference &amp;lt; -500, "med_neg", myDifference &amp;lt; 0, "low_neg", myDifference &amp;lt; 500, "low_pos", myDifference &amp;lt; 1000, "med_pos", 1==1, "high_pos")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Jun 2010 00:33:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/using-rangemap-for-infinity/m-p/14825#M330</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-06-04T00:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: using rangemap for +/- infinity</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/using-rangemap-for-infinity/m-p/14826#M331</link>
      <description>&lt;P&gt;Awesome.  Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2010 00:57:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/using-rangemap-for-infinity/m-p/14826#M331</guid>
      <dc:creator>kevintelford</dc:creator>
      <dc:date>2010-06-04T00:57:33Z</dc:date>
    </item>
  </channel>
</rss>

