<?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: How to change bin value ranges using choropleth map? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271769#M31529</link>
    <description>&lt;P&gt;Did this option get added in 6.4 or 6.5? If not, is it on the roadmap for a future release? I am using states and four bins. The largest value for a particular state is 94,000. My buckets have these ranges:&lt;BR /&gt;
0 - 60,000&lt;BR /&gt;
60,000 - 120,000&lt;BR /&gt;
120,000 - 180,000&lt;BR /&gt;
180,000 - 240,000&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 13:01:00 GMT</pubDate>
    <dc:creator>carlkennedy</dc:creator>
    <dc:date>2017-02-24T13:01:00Z</dc:date>
    <item>
      <title>How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271759#M31519</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I currently have 9 bins enabled. The lowest default bin range on my map is 0-600k, which is assigned the white color. All but one country fall into the 0-600k range, so only one country is highlighted while the others are all white. This doesn't give me very good contrast on all of the other countries.&lt;/P&gt;

&lt;P&gt;How can I change the the bin value ranges? For example, lowering the smallest bin range (white) to 0-50 means any country with a value greater than 50 would be assigned a color (not white).&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:50:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271759#M31519</guid>
      <dc:creator>jmchilde</dc:creator>
      <dc:date>2015-10-13T19:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271760#M31520</link>
      <description>&lt;P&gt;Unfortunately that's not possible at this moment with Splunk 6.3..&lt;/P&gt;

&lt;P&gt;Let me offer you an alternative. Often when something like this happens it's because the one country's population (or user base or similar metric) is far larger than all other countries, outweighing all other countries when simply counting a metric. Take for example the use case of web analytics. The US with its ~320M will likely generate many more visitors than, say, Switzerland with its ~8M.&lt;/P&gt;

&lt;P&gt;One way around that is to normalize the metric. Three examples: &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;You could do something like visits per capita (dividing visits by the population number for each country). &lt;/LI&gt;
&lt;LI&gt;You could compare a number for this week to the same metric last week.&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;You could compare each number to a predefined goal or target&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;That being said, it's absolutely possible that none of these will work for your use case, and you are indeed interested in absolute numbers. &lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 20:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271760#M31520</guid>
      <dc:creator>mporath_splunk</dc:creator>
      <dc:date>2015-10-13T20:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271761#M31521</link>
      <description>&lt;P&gt;Thanks for that. Unfortunately, I am comparing absolute values but I really appreciate the alternatives. I'd definitely like to see this option added as a feature similar to how you add a neutral point in the divergent map. The choropleth map is not useful if any absolute values are significantly deviated. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 14:21:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271761#M31521</guid>
      <dc:creator>jmchilde</dc:creator>
      <dc:date>2015-10-14T14:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271762#M31522</link>
      <description>&lt;P&gt;I concur.  Would like to see custom bins for absolute values.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 16:06:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271762#M31522</guid>
      <dc:creator>jdswanson</dc:creator>
      <dc:date>2015-10-22T16:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271763#M31523</link>
      <description>&lt;P&gt;How about group it by yourself as a workaround?  Try something like this:&lt;/P&gt;

&lt;P&gt;| eval count= case(count&amp;lt;=10,"0-10", count&amp;gt;10 AND count&amp;lt;=100, "11-100", count&amp;lt;=10000, "101-10000", count&amp;gt;10000, "10000+")&lt;/P&gt;

&lt;P&gt;And group it by Categorical?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Oct 2015 18:16:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271763#M31523</guid>
      <dc:creator>gchung_splunk</dc:creator>
      <dc:date>2015-10-25T18:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271764#M31524</link>
      <description>&lt;P&gt;@gchung's answer would work! If categorical coloring doesn't work as expected, you could define your own &lt;CODE&gt;mapping.seriesColors&lt;/CODE&gt; option, e.g. with values &lt;CODE&gt;{"0-10": "#FAEDA5", "11-100": #F7B44C, "101-10000", : "#FF4B2A""10000+": "#C10028"}&lt;/CODE&gt;, which is a gradient from yellow to red&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2015 22:59:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271764#M31524</guid>
      <dc:creator>mporath_splunk</dc:creator>
      <dc:date>2015-10-26T22:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271765#M31525</link>
      <description>&lt;P&gt;Thanks all. I will give this a try!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 14:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271765#M31525</guid>
      <dc:creator>jmchilde</dc:creator>
      <dc:date>2015-10-27T14:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271766#M31526</link>
      <description>&lt;P&gt;This definitely is interesting...  and it seems like it would work if the cases match the expected results.  What about ranking with streamstats and then putting these in bins?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index "Login succeeded" | iplocation source_ip | stats count by Country | sort -count | streamstats count as rank | bucket rank span=5 as bucket
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And somehow combining it with a working &lt;STRONG&gt;geom&lt;/STRONG&gt; search, but using the categories which match the bucket field instead of the count:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index "Login succeeded" | iplocation source_ip | lookup geo_us_states longitude as lon, latitude as lat | stats count by featureId | geom geo_us_states
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2016 06:11:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271766#M31526</guid>
      <dc:creator>brettwilliams</dc:creator>
      <dc:date>2016-02-10T06:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271767#M31527</link>
      <description>&lt;P&gt;I'm using kmeans to create dynamic "categories" based on a numeric field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index "Login succeeded" | iplocation source_ip | lookup geo_us_states longitude as lon, latitude as lat | stats count by featureId | geom geo_us_states  | kmeans k=5 count | eventstats min(count) AS min, max(count) AS max by CLUSTERNUM | sort min | eval count=min."-".max | fields - CLUSTERNUM centroid_count max min
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where&lt;BR /&gt;
 - k=5 defines the number of clusters/categories (5 in this case)&lt;BR /&gt;
 - evenstats / eval is used to create a dynamic label for the category in the field "count" showing min and max of count&lt;/P&gt;

&lt;P&gt;HTH.&lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
Simon&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 08:03:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271767#M31527</guid>
      <dc:creator>Simon</dc:creator>
      <dc:date>2016-06-07T08:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271768#M31528</link>
      <description>&lt;P&gt;@Simon - This is VERY helpful.  Thank You!&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2016 19:13:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271768#M31528</guid>
      <dc:creator>GRMcCauley</dc:creator>
      <dc:date>2016-08-14T19:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271769#M31529</link>
      <description>&lt;P&gt;Did this option get added in 6.4 or 6.5? If not, is it on the roadmap for a future release? I am using states and four bins. The largest value for a particular state is 94,000. My buckets have these ranges:&lt;BR /&gt;
0 - 60,000&lt;BR /&gt;
60,000 - 120,000&lt;BR /&gt;
120,000 - 180,000&lt;BR /&gt;
180,000 - 240,000&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 13:01:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271769#M31529</guid>
      <dc:creator>carlkennedy</dc:creator>
      <dc:date>2017-02-24T13:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271770#M31530</link>
      <description>&lt;P&gt;If you want to avoid bins being colored white, you can use the "Divergent" color option with an even number of bins. &lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:25:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271770#M31530</guid>
      <dc:creator>Reimer1291</dc:creator>
      <dc:date>2017-07-20T12:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change bin value ranges using choropleth map?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271771#M31531</link>
      <description>&lt;P&gt;Thanks for all the input on this issue. &lt;/P&gt;

&lt;P&gt;@jmchilde - Did it work?&lt;/P&gt;

&lt;P&gt;@mporath_splunk  - Could you please provide a working example?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 13:28:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-bin-value-ranges-using-choropleth-map/m-p/271771#M31531</guid>
      <dc:creator>TonyLeeVT</dc:creator>
      <dc:date>2019-10-01T13:28:52Z</dc:date>
    </item>
  </channel>
</rss>

