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!

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 ...