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 Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...