<?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: Geostats and rangemap in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158924#M44808</link>
    <description>&lt;P&gt;Hi xisura, &lt;BR /&gt;
I have the answer for you!!!&lt;/P&gt;

&lt;P&gt;try this...but for this you need to first install Google Maps app into your splunk,&lt;BR /&gt;
 then for  example look at  this search query :index=XXX sourcetype=XXX | fields cpu, location |  lookup location.csv location  as location OUTPUTNEW latitude,longitude | geostats latfield=latitude longfield=longitude  values(CPU) by location&lt;/P&gt;

&lt;P&gt;here you need upload the latitude and longitude of your locations in the location.csv file and then do a lookup command n match it using geostats command&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2015 12:43:18 GMT</pubDate>
    <dc:creator>Venkat_16</dc:creator>
    <dc:date>2015-05-21T12:43:18Z</dc:date>
    <item>
      <title>Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158922#M44806</link>
      <description>&lt;P&gt;Hi Newbie here,&lt;/P&gt;

&lt;P&gt;Im exploring right now the map on splunk 6, Now my question is,is it possible to add a rangemap in geostats for example i have servers in certain areas and i want to know the util of all the servers ,so in the map it will show the cpu util in every area and change the color of the value or the circle around it, if it meet the set threshold.&lt;/P&gt;

&lt;P&gt;Please englighten me.&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;BR /&gt;
xisura&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2013 18:10:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158922#M44806</guid>
      <dc:creator>xisura</dc:creator>
      <dc:date>2013-11-27T18:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158923#M44807</link>
      <description>&lt;P&gt;hi @xisura have you got this ??&lt;BR /&gt;
i am also lagging from same type of requirement.&lt;BR /&gt;
If you found any clue for this please give me reply here.&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/236609/can-we-give-colors-in-geostats-based-on-ranges-of.html"&gt;http://answers.splunk.com/answers/236609/can-we-give-colors-in-geostats-based-on-ranges-of.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 16:02:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158923#M44807</guid>
      <dc:creator>SanthoshSreshta</dc:creator>
      <dc:date>2015-05-19T16:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158924#M44808</link>
      <description>&lt;P&gt;Hi xisura, &lt;BR /&gt;
I have the answer for you!!!&lt;/P&gt;

&lt;P&gt;try this...but for this you need to first install Google Maps app into your splunk,&lt;BR /&gt;
 then for  example look at  this search query :index=XXX sourcetype=XXX | fields cpu, location |  lookup location.csv location  as location OUTPUTNEW latitude,longitude | geostats latfield=latitude longfield=longitude  values(CPU) by location&lt;/P&gt;

&lt;P&gt;here you need upload the latitude and longitude of your locations in the location.csv file and then do a lookup command n match it using geostats command&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 12:43:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158924#M44808</guid>
      <dc:creator>Venkat_16</dc:creator>
      <dc:date>2015-05-21T12:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158925#M44809</link>
      <description>&lt;P&gt;where are you defining colors there.?&lt;BR /&gt;
can you please explain.?&lt;BR /&gt;
Can't it be possible without Google Maps app.?&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 12:49:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158925#M44809</guid>
      <dc:creator>SanthoshSreshta</dc:creator>
      <dc:date>2015-05-21T12:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158926#M44810</link>
      <description>&lt;P&gt;So am defining colors in the XML code  like i use the below xml code for assigning the colors:&lt;BR /&gt;
&amp;lt;option name="mapping.fieldColors"&amp;gt;{fieldl1:0xFF3333,field2:0x66CCFF,field3:0xFFCC66}&amp;lt;/option&amp;gt;&lt;/P&gt;

&lt;P&gt;It works with google Maps only because it providse the Google API to splunk&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2015 14:39:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158926#M44810</guid>
      <dc:creator>Venkat_16</dc:creator>
      <dc:date>2015-05-22T14:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158927#M44811</link>
      <description>&lt;P&gt;I am having one field as :&lt;BR /&gt;
here is my query.&lt;BR /&gt;
    source="Churn_Map.csv" sourcetype="Churn_map" &lt;BR /&gt;
     | eval Churn = if(Churn="True.","1","0") &lt;BR /&gt;
     | eventstats sum(Churn) as true_churn , count(Churn) as total_churn by state&lt;BR /&gt;&lt;BR /&gt;
     | eval prop= true_churn*100 / total_churn&lt;BR /&gt;&lt;BR /&gt;
     | rangemap field=prop green=0-5 yellow=6-10 orange=11-15 default=red&lt;BR /&gt;
     | geostats values(prop) by StateName   globallimit=0&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158927#M44811</guid>
      <dc:creator>SanthoshSreshta</dc:creator>
      <dc:date>2020-09-28T20:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158928#M44812</link>
      <description>&lt;P&gt;Hello Santhosh, were you able to find the solution to your problem, I am currently working on the similar issue..&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 03:01:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158928#M44812</guid>
      <dc:creator>avaishsplunk</dc:creator>
      <dc:date>2016-12-29T03:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158929#M44813</link>
      <description>&lt;P&gt;For adding colors to existing Geo Map you can note the names of series plotted in your Geo Map and apply field color as per your need. For example following set colors for &lt;STRONG&gt;red&lt;/STRONG&gt; and &lt;STRONG&gt;green&lt;/STRONG&gt; series using hex code for respective colors. You can use &lt;STRONG&gt;mapping.fieldColors&lt;/STRONG&gt; (refer to the following documentation: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#map_.28event_tokens.29"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#map_.28event_tokens.29&lt;/A&gt;)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="mapping.fieldColors"&amp;gt;{red:0xFF0000,green:0x00FF00}&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want to color map based on stats range, you are actually looking for Choropleth Map (&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChoroplethFormatting"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChoroplethFormatting&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;Please also check out &lt;STRONG&gt;Choropleth Map - Color Modes&lt;/STRONG&gt; example on &lt;STRONG&gt;Splunk 6.x Dashboard Examples&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;            &amp;lt;option name="mapping.choroplethLayer.colorBins"&amp;gt;6&amp;lt;/option&amp;gt;
            &amp;lt;option name="mapping.choroplethLayer.colorMode"&amp;gt;auto&amp;lt;/option&amp;gt;
            &amp;lt;option name="mapping.choroplethLayer.maximumColor"&amp;gt;0xDB5800&amp;lt;/option&amp;gt;
            &amp;lt;option name="mapping.choroplethLayer.minimumColor"&amp;gt;0x2F25BA&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Dec 2016 07:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158929#M44813</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2016-12-29T07:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158930#M44814</link>
      <description>&lt;P&gt;hi nike,&lt;/P&gt;

&lt;P&gt;Regarding choropleth Maps, can we change color scheme. for example from &lt;BR /&gt;
1-5 red color&lt;BR /&gt;
5-50 green color&lt;BR /&gt;
50-100 orange color&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 11:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/158930#M44814</guid>
      <dc:creator>riqbal47010</dc:creator>
      <dc:date>2020-04-23T11:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Geostats and rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/556385#M158006</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/19251"&gt;@xisura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any of you found a solution for this, I am using eth tiles which show map by using geo stats but I am not able to change the color of the individual location by range map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how you did that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jun 2021 13:35:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Geostats-and-rangemap/m-p/556385#M158006</guid>
      <dc:creator>anurag1005</dc:creator>
      <dc:date>2021-06-19T13:35:20Z</dc:date>
    </item>
  </channel>
</rss>

