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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...