Splunk Search

How to show count on map by name of cities?

indeed_2000
Motivator

Hi

I have table like below how can i show them on map?

spl | table city count

city  count

الریاض 10

20 جدة

مکة 33 

 

thanks

Labels (2)
Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @indeed_2000,

are you speaking of georeferencing?

If this is your requirement, you need of a lookup like MaxMind (https://splunkbase.splunk.com/app/3022/#/details) to join a city name to latitude and longitude.

If instead you want to create you own lookup, follow the instructions at https://docs.splunk.com/Documentation/Splunk/latest/Viz/CreateLookup or https://docs.splunk.com/Documentation/Splunk/8.2.6/Knowledge/Configuregeospatiallookups

Ciao.

Giuseppe

 

0 Karma

indeed_2000
Motivator

@gcusello MaxMind work if i don’t have ip?

other links seems complicated, do you have link or user guide that show step by step that how can i do this?

 

 Thanks 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @indeed_2000,

in maxmind you also have the country and the name of the city that you can use to find lat and long of your city to use in a map visualization.

Obviously you cannot use iplocation command, but you have to use the lookuyp command to associate the city name with coordinates.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...