Dashboards & Visualizations

Choropleth Map - move AK and HI to be viewed on dashboard with continental US

andrew_j_kuhn
Loves-to-Learn

I am looking for a way to move AK and HI on the dashboard to be viewed with the continental US. I did find the following documentation:

https://docs.splunk.com/Documentation/DashApp/0.9.0/DashApp/mapsChorConfig#:~:text=One%20exception%2....

 

However when I convert the JSON to XML it states that 'LogicalBounds' is invalid. Is there a way to use this? I do not want to zoom in and out on my splunk dashboard to view data.

Labels (2)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@andrew_j_kuhn - You need to use following XML option:

mapping.map.fitBounds - (south-lat, west-long, north-lat, east-long)

Examlple:

  <option name="mapping.map.fitBounds">
    (37.5,-123,38,-122)
  </option>

Find more details about simple XML options for map here - https://docs.splunk.com/Documentation/SplunkCloud/8.2.2202/Viz/PanelreferenceforSimplifiedXML#map 

 

I hope this helps!!!

0 Karma

andrew_j_kuhn
Loves-to-Learn

That setting seems to be a zoom setting? I am trying to accomplish the map layout to look like this:

andrew_j_kuhn_0-1650026809820.png

 

Not the colors, but notice how Alaska and Hawaii are moved so they can be easily seen with out panning out or moving the map.

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

You need to create/add a geospatial lookup file for that. (that's what describes the map with polygons)

The file format is KMZ.

Splunk comes default with two lookups:

  1. geo_us_states
  2. geo_countries

Reference - https://docs.splunk.com/Documentation/Splunk/8.2.6/Knowledge/Configuregeospatiallookups 

(In your case you may be tried to clone & update the current US lookup manually or try to see if you can find that lookup on the web somewhere.

 https://docs.splunk.com/Documentation/DashApp/0.9.0/DashApp/mapsChor 

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...