Splunk Enterprise

help on map visualisation

jip31
Motivator

hi

I use a basic search in order to count the number of incidents by town

index=toto sourcetype=tutu 
| stats dc(id) by site

Now I would be able o display this results on a map in order to have a bubble with the number of incidents for each site

So I have created a lookup (gps.csv) like this

site,Longitude,Latitude,
AGDE,3.4711992,43.3154
NANTES,-1.58295,47.235197
TOULOUSE,1.3798,43.6091

So what I have to for doing a cross between my search and my lookup in order to have a bubble count on my map vizualisation?

thanks

 

Tags (1)
0 Karma

jip31
Motivator

I see the events only in the "events" tab

jip31_0-1638424905047.png

But i cant see the events related to my lookup 

Yet, if i just execute, I can see the events

| lookup gps.csv site 

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Does this help?

| lookup gps.csv site
0 Karma

jip31
Motivator

I have no isssue but nothing is dispalyed on the map.....

I have done this

 

index=toto sourcetype=tutu  
| lookup gps.csv site 
| geostats dc(id) latfield=Latitude longfield=Longitude by site

 

what is wrong please??

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

What are your resilts after just lookup?

What are your results after geostats?

0 Karma

jip31
Motivator

After lookup I have results (73 events)

But geostats when I a m going in visualisation tab, there is no map displayed

jip31_0-1638169748625.png

 

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You have no results (Statistics (0)!) - what does the rest of your search actually look like?

0 Karma

jip31
Motivator

here is the search

index=tutu sourcetype=toto 
| search site=*agde* OR site=*nantes* OR site=*toulouse* 
| lookup gps4.csv site 
| geostats count(signaler_id) latfield=latitude longfield=longitude by site
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

If your examples are anything to go by your site is in lowercase whereas your lookup in is uppercase - either convert the site from the search to uppercase or make sure you have set up a case-insensitive lookup definition

0 Karma

jip31
Motivator

I have added an upper command but it changes anything

index=toto sourcetype=tutu
| search site=*agde* OR site=*nantes* OR site=*toulouse*
| eval site=upper(site)
| lookup gps4.csv site 
| geostats count(signaler_id) latfield=latitude longfield=longitude by site

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

The issue is probably with your events - if you don't share them, anonymised of course, it is very difficult to help you.

0 Karma

jip31
Motivator

Yes, but it's difficult to share events dont displayed....

The only thing I can say is that the site field in "gps.csv" is in Upper case

jip31_0-1638461753989.png

 

 

 

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Previously, you said you had 73 events (prior to lookup?) - can you share some of them?

0 Karma

PickleRick
SplunkTrust
SplunkTrust

I understand that you get some results. But what do they look like?

0 Karma

jip31
Motivator

Hi

I have explained it in the previous message

I cant share nothing interesting....

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...