Splunk Search

How to show Top 20 location on map?

ajitshukla61116
Path Finder

my task is to show top 20 location on Map by incidenttype.here incident type have 5 type.

I have tried this query but unable lablefield taking single value only
index="Testlog"|geostats latfield=Latitude longfield=Longitude count binspanlat=1 binspanlong=1 by IncidentType|addtotals labelfield=latitude,longitude||sort -Total|head 20

Here I want Location where incident count is more should display first,Please provide me optimal solution .

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...