<?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 Cluster colours in Map+? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760091#M82832</link>
    <description>&lt;P class="lia-align-left"&gt;Hi&amp;nbsp;&lt;SPAN&gt;bowesmana,&lt;BR /&gt;&lt;BR /&gt;I have already tried it, you can see below. It does not work:&lt;BR /&gt;&lt;BR /&gt;| eval clusterFgColor=case(bgp_state="Down", "#ff0000", bgp_state="Up", "#00ff00", bgp_state="down", "#ff0000", bgp_state="up", "#00ff00", bgp_state="null", "#00ff00")&lt;BR /&gt;| eval clusterBgColor=case(bgp_state="Down", "#ff0000", bgp_state="Up", "#00ff00", bgp_state="down", "#ff0000", bgp_state="up", "#00ff00", bgp_state="null", "#00ff00")&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2026 08:24:07 GMT</pubDate>
    <dc:creator>mh124</dc:creator>
    <dc:date>2026-04-10T08:24:07Z</dc:date>
    <item>
      <title>How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760060#M82828</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can I change cluster colours based on such code?&lt;BR /&gt;&lt;BR /&gt;| eval clusterGroup=case(bgp_state="Down","red",bgp_state="down","red",bgp_state="Up","green",bgp_state="up","green",bgp_state="null","green" )&lt;BR /&gt;&lt;BR /&gt;&amp;lt;option name="leaflet_maps_app.maps-plus.clusterGroupColors"&amp;gt;green:#00ff00, red:#ff0000&amp;lt;/option&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Thank You in advance for the help&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 09:11:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760060#M82828</guid>
      <dc:creator>mh124</dc:creator>
      <dc:date>2026-04-09T09:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760081#M82831</link>
      <description>&lt;P&gt;See the doc section on Cluster Groups where it describes the fields needed to change the cluster colour definitions&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/sghaskell/maps-plus?tab=readme-ov-file#cluster-groups" target="_blank"&gt;https://github.com/sghaskell/maps-plus?tab=readme-ov-file#cluster-groups&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 23:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760081#M82831</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2026-04-09T23:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760091#M82832</link>
      <description>&lt;P class="lia-align-left"&gt;Hi&amp;nbsp;&lt;SPAN&gt;bowesmana,&lt;BR /&gt;&lt;BR /&gt;I have already tried it, you can see below. It does not work:&lt;BR /&gt;&lt;BR /&gt;| eval clusterFgColor=case(bgp_state="Down", "#ff0000", bgp_state="Up", "#00ff00", bgp_state="down", "#ff0000", bgp_state="up", "#00ff00", bgp_state="null", "#00ff00")&lt;BR /&gt;| eval clusterBgColor=case(bgp_state="Down", "#ff0000", bgp_state="Up", "#00ff00", bgp_state="down", "#ff0000", bgp_state="up", "#00ff00", bgp_state="null", "#00ff00")&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 08:24:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760091#M82832</guid>
      <dc:creator>mh124</dc:creator>
      <dc:date>2026-04-10T08:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760119#M82833</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/272351"&gt;@mh124&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Maps+ uses clustering by default, and each cluster must normally have at least two results. To allow single results to display stylized markers, set the &lt;EM&gt;leaflet_maps_app.maps-plus.singleMarkerMode&lt;/EM&gt; option to 1:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;viz type="leaflet_maps_app.maps-plus"&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;| makeresults format=csv data="
latitude,longitude,bgp_state
37.166111,-119.449444,Down
42.9525,-76.016667,Up
42.9525,-76.016667,Up
42.9525,-76.016667,Up
"
| eval clusterGroup=coalesce(lower(bgp_state), "up")
| table latitude longitude clusterGroup&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
  &amp;lt;option name="leaflet_maps_app.maps-plus.cluster"&amp;gt;1&amp;lt;/option&amp;gt;
  &amp;lt;option name="leaflet_maps_app.maps-plus.clusterGroupColors"&amp;gt;down:red, up:green&amp;lt;/option&amp;gt;
  &amp;lt;option name="leaflet_maps_app.maps-plus.singleMarkerMode"&amp;gt;1&amp;lt;/option&amp;gt;
&amp;lt;/viz&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;The &lt;EM&gt;singleMarkerMode&lt;/EM&gt; option is loosely documented in app help:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;Single Marker Mode&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Re-style single marker icon to marker cluster style (round) - Requires browser Refresh&lt;/P&gt;&lt;P&gt;In the &lt;STRONG&gt;Format visualization&lt;/STRONG&gt; interface, navigate to &lt;STRONG&gt;Clustering &amp;gt; Single Marker Mode&lt;/STRONG&gt;, and then click&amp;nbsp;&lt;STRONG&gt;Enabled&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2026 16:23:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760119#M82833</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2026-04-12T16:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760124#M82834</link>
      <description>&lt;P&gt;If you are having an issue with single marker clustering, then&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/49493"&gt;@tscroggins&lt;/a&gt;&amp;nbsp;shows the solution for that, however, both your original clusterGroupColors setting and this post should work&lt;/P&gt;&lt;P&gt;This example shows random dynamic changes to foreground and background colours.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;viz type="leaflet_maps_app.maps-plus"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults format=csv data="latitude,longitude
-33.7688,150.9063
-32.2773,115.7316
-27.4698,153.0251
-34.727,138.6689
-19.259,146.8169
-33.8688,151.2093
-37.9145,145.1195
-31.7467,115.7677
-33.7688,150.9063"
| eval bgp_state=mvindex(split("Down,Up",","), random() % 2)
| eval state=lower(bgp_state)
| eval clusterGroup=case(state="down","red",state="up","green",bgp_state="null","green")
| streamstats c 
| eval setBg=if(state="up", "green,blue", "red,orange")
| eval setFg=if(state="up", "white,yellow", "black,grey")
| eval clusterBgColor=mvindex(split(setBg, ","), random() % 2)
| eval clusterFgColor=mvindex(split(setFg, ","), random() % 2)
| eval description=printf("&amp;amp;lt;b&amp;amp;gt;Item %d - %s&amp;amp;lt;/b&amp;amp;gt;", c, bgp_state), tooltip=description&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="leaflet_maps_app.maps-plus.cluster"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="leaflet_maps_app.maps-plus.singleMarkerMode"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/viz&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 00:26:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760124#M82834</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2026-04-13T00:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760141#M82835</link>
      <description>&lt;P&gt;Hi bowesmana,&lt;BR /&gt;&lt;BR /&gt;I have pasted this code and I still see only "green" color for clusters:&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Down state should be in &amp;quot;red&amp;quot; colour?" style="width: 958px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41923i5503D215299A8950/image-size/large?v=v2&amp;amp;px=999" role="button" title="only_green.png" alt="Down state should be in &amp;quot;red&amp;quot; colour?" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Down state should be in "red" colour?&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 10:50:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760141#M82835</guid>
      <dc:creator>mh124</dc:creator>
      <dc:date>2026-04-13T10:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760150#M82836</link>
      <description>&lt;P&gt;Thank You&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/49493"&gt;@tscroggins&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It's still unclear for me if I can overwrite default cluster colour settings below. I think that Maps+ is still counting devices under cluster and color depends on this value:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="default_cluster_colours_mechanizm.png" style="width: 661px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41925i90AAB54DBF3B60DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="default_cluster_colours_mechanizm.png" alt="default_cluster_colours_mechanizm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 12:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760150#M82836</guid>
      <dc:creator>mh124</dc:creator>
      <dc:date>2026-04-13T12:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760169#M82837</link>
      <description>&lt;P&gt;This is what is should look like (I made is use odd colours for up/down just to show it's possible)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bowesmana_0-1776121066786.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41934iAD2260C5D32D7C5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bowesmana_0-1776121066786.png" alt="bowesmana_0-1776121066786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bowesmana_1-1776121116690.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41935i371861658D6F1833/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bowesmana_1-1776121116690.png" alt="bowesmana_1-1776121116690.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I know that Maps+ is a bit odd in that you need to refresh the browser tab to get some changes recognised, but what version of Maps+ are you - this is the latest 4.6.2 in SplunkCloud&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 23:01:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760169#M82837</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2026-04-13T23:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Cluster colours in Map+?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760172#M82838</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A class="" href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367" target="_blank" rel="noopener" aria-label="View Profile of bowesmana"&gt;&lt;SPAN class=""&gt;bowesmana&lt;/SPAN&gt;&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank You very much. This problem is related to the Chrome 141.&amp;nbsp;&lt;BR /&gt;All works as expected!&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 08:32:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-change-Cluster-colours-in-Map/m-p/760172#M82838</guid>
      <dc:creator>mh124</dc:creator>
      <dc:date>2026-04-14T08:32:41Z</dc:date>
    </item>
  </channel>
</rss>

