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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...