<?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: Modify Map Colors In Dashboard Studio in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756850#M59331</link>
    <description>&lt;P&gt;HI&amp;nbsp;@&lt;SPAN&gt;livehybrid&lt;BR /&gt;&lt;BR /&gt;Can you give me some suggestion? Thankyou!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Dec 2025 05:56:15 GMT</pubDate>
    <dc:creator>chenfan</dc:creator>
    <dc:date>2025-12-30T05:56:15Z</dc:date>
    <item>
      <title>Modify Map Colors In Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756849#M59330</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;&lt;P&gt;I've been having issues with Dashboard Studio lately that have been bothering me. I'd really appreciate any advice. I want to assign different colors to data based on different field values—green for "normal", yellow for "warning", and red for "critical". I've tried the following configurations, but none of them have worked.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;{ "type": "splunk.map", "options": { "center": [ 34.266, 108.945 ], "zoom": 2.3155822324586683, "layers": [ { "seriesColors": [ "#00FF00", "#FFFF00", "#FF0000", "bubbleSize": "&amp;gt; primary | frameBySeriesNames('normal','warning','critical')" } ] }, "dataSources": { "primary": "ds_PHhx1Fxi" }, "context": {}, "showProgressBar": false, "showLastUpdated": false }&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenfan_0-1767073833477.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41084i53B62B95F883D96B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenfan_0-1767073833477.png" alt="chenfan_0-1767073833477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 05:53:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756849#M59330</guid>
      <dc:creator>chenfan</dc:creator>
      <dc:date>2025-12-30T05:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Map Colors In Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756850#M59331</link>
      <description>&lt;P&gt;HI&amp;nbsp;@&lt;SPAN&gt;livehybrid&lt;BR /&gt;&lt;BR /&gt;Can you give me some suggestion? Thankyou!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 05:56:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756850#M59331</guid>
      <dc:creator>chenfan</dc:creator>
      <dc:date>2025-12-30T05:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Map Colors In Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756856#M59332</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251661"&gt;@chenfan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You've used the correct syntax for bubbleSize and seriesColor to select a data frame by series names and match the index of each series name to its corresponding color. Assuming "normal" is the dominant status, the screenshot looks correct.&lt;/P&gt;&lt;P&gt;Which part isn't working?&lt;/P&gt;&lt;P&gt;As an aside, Splunk's legacy default RGB values for red, yellow/amber, and green are&amp;nbsp;#cba700,&amp;nbsp;#d41f1f, and&amp;nbsp;#118832, respectively.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 16:59:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756856#M59332</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2025-12-30T16:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Map Colors In Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756863#M59333</link>
      <description>Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/49493"&gt;@tscroggins&lt;/a&gt; Thankyou for your reply! When my data only includes "normal" and "critical" statuses, the color assigned to "critical" is yellow——and that’s not what I want.</description>
      <pubDate>Wed, 31 Dec 2025 06:09:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756863#M59333</guid>
      <dc:creator>chenfan</dc:creator>
      <dc:date>2025-12-31T06:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Map Colors In Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756870#M59334</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251661"&gt;@chenfan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I can't reproduce the issue using your layers configuration in Splunk Enterprise 10.0. Which version of Splunk are you using? Can you post a redacted version of your search?&lt;/P&gt;&lt;P&gt;You could try appending an eval after geostats to insert zero values when a field is missing, null, or empty:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| geostats count by status ``` latfield=lat longfield=lon ```
| eval normal=coalesce(tonumber(trim(normal)), 0), warning=coalesce(tonumber(trim(warning)), 0), critical=coalesce(tonumber(trim(critical)), 0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;You can vary the eval command to fit whatever validation logic you prefer, e.g.:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| eval normal=if(isnull(nullif(normal, "")) OR NOT isint(normal), 0, normal), warning=if(isnull(nullif(warning, "")) OR NOT isint(warning), 0, warning), critical=if(isnull(nullif(critical, "")) OR NOT isint(critical), 0, critical)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 17:02:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756870#M59334</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2025-12-31T17:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Map Colors In Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756877#M59335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251661"&gt;@chenfan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since when you're missing a field it throws out the colouring, just make sure you always have the fields in the order you expect - the easiest way to do this is to add a table command to then end of your search:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| table normal warning critical *&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1767220731894.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41089iEA022BBDD0B06FEA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1767220731894.png" alt="livehybrid_0-1767220731894.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 22:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-Map-Colors-In-Dashboard-Studio/m-p/756877#M59335</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-12-31T22:38:57Z</dc:date>
    </item>
  </channel>
</rss>

