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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...