Splunk Search

Replace markers in Choropleth with pie charts

aartivig289
Engager

Hi
I am reading the data from a csv lookup.
I have client usage data per country for a number of business features.

I need to represent the client usage for each country using pie chart. The client usage pie chart will have further breakdown of client usage numbers by business features.

Here is my query that I use to show client usage on choropleth map right now. But I need the pie charts to further show the business features.

| inputlookup Feature.csv |search "CLIENT USAGE"!=0|chart sum(CLIENT USAGE) as "ClientUsage" by "MARKET NAME"|Rename "MARKET NAME" as "Country" |eval ClientUsage= tostring(ClientUsage,"commas")| eval Country=case(Country="FRANCE", "France",Country="AUSTRALIA","Australia",Country="USA","United States",Country="UNITED KINGDOM","United Kingdom",Country="SPAIN","Spain",Country="GERMANY","Germany", Country="CANADA", "Canada", Country="MEXICO", "Mexico", Country="SAUDI ARABIA","Saudi Arabia", Country="SWITZERLAND", "Switzerland", Country="UNITED ARAB EMIRATES", "United Arab Emirates")| eval ClientUsage= Country+"----"+ClientUsage |geom geo_countries featureIdField="Country"

Tags (3)
0 Karma
Get Updates on the Splunk Community!

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...

Alerting Best Practices: How to Create Good Detectors

At their best, detectors and the alerts they trigger notify teams when applications aren’t performing as ...

Discover Powerful New Features in Splunk Cloud Platform: Enhanced Analytics, ...

Hey Splunky people! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2408. In this ...