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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...