Dashboards & Visualizations

How do you change the marker colors on a map visualization

ldwatola
New Member

I am new to splunk and I am doing my first map visualization. I want to change the color of the markers displayed on the map. This is nothing fancy, but I am just not sure how to do that.

0 Karma

dolivasoh
Contributor

From: http://docs.splunk.com/Documentation/Splunk/6.2.4/AdvancedDev/CustomChartingConfig-FontColorBrushPal...

Setting color properties:

<option name="charting.foregroundColor">0x000000</option>
<option name="charting.backgroundColor">0xFFFFFF</option>
<option name="charting.seriesColors">[0x6CB8CA,0xFAC61D,0xD85E3D,0x956E96,
0xF7912C,0x9AC23C,0x998C55,0xDD87B0,0x5479AF,0xE0A93B,0x6B8930,0xA04558,
0xA7D4DF,0xFCDD77,0xE89E8B,0xBFA8C0,0xFABD80,0xC2DA8A,0xC2BA99,0xEBB7D0,
0x98AFCF,0xECCB89,0xA6B883,0xC68F9B,0x416E79,0x967711,0x823825,0x59425A,
0x94571A,0x5C7424,0x5C5433,0x85516A,0x324969,0x866523,0x40521D,0x602935]</option>

seriesColors array Uses an array of hexadecimal values to define the colors of chart series (surrounded by brackets and separated by commas, no spaces). See the Define series colors subtopic in the Charting configurations overview for more information.

Note: The masterLegend parameter influences series color mappings made with seriesColors. For more information, see Chart colors.

If you want to apply static colors to specific fields we suggest you use the fieldColors property (see documentation of the fields color palette, below).

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...