Dashboards & Visualizations

Customize Legend on Choropleth Map

SplunkMaster22
Loves-to-Learn

I have the following command to create visualization on choropleth map which works but I get only the  categorical color  and volume as legend (without header),  how can I add more column full country name that I retrieve from geo_attr_countried to the legend and if possible with header of the columns?


index=main "registered successfully"
| rex "SFTP_OP_(?<country>(\w{2}))"
| stats count by country
| rename country AS iso2
| lookup geo_attr_countries iso2 OUTPUT country
| stats sum by country
| rename sum(count) AS Volume
| geom geo_countries featureIdField="country"

Basically, if possible, I am trying to get a legend something on the right bottom corner like the one below

Color CategoricalCountry NameVolume
ColorChina 124
ColorBrazil25
   
Labels (2)
0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

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

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

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