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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...