All Apps and Add-ons

Question regarding heat map and tile visualizations

jh007
New Member

I have a dashboard where I have attempted to create heat maps based on a range. The problem I have is that I have multiple Splunk servers I am deploying in different environments that are all different sizes; hence, I can't use the same number range for heat mapping on all of my systems because of the size differences.

What I would like to know is if it is possible to set heat map ranges based on percentages rather than hard numbers (e.g. stay green if < 1%, turn yellow if > 5% and turn red at 10%).

0 Karma

mdorobek
Path Finder

Heres an example by using the coropleth map, I hope this helps:

index=foo
| eventstats count as total
| iplocation src_ip
| stats count by Country, total
| eval percentage=round((count/total)*100, 2)
| fields Country, percentage
| eval percentage=case(percentage<10,"<10%",percentage<20,"10-20%", percentage<30,"20-30%", percentage<40,"30-40%", percentage<50,"40-50%", percentage<60,"50-60%", percentage<70,"60-70%", percentage<80,"70-80%", percentage<80,"80-90%", percentage<100,"90-100%")
| geom geo_countries featureIdField=Country

alt text

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...