Splunk Search

Google maps query not working

mholloway_uk
Explorer

I've tried everything to get the google maps app to work, but I always get the message "No geo information found in results"

I have tried the following:

sourcetype="dbmon:kv" | eval _geo=tostring(round(Latitude,3))+","+tostring(round(Longitude,3))

I have verified that the eval expression outputs the lat,long in the correct fromat e.g. "36.732,-76.353".

I have also tried hard coding the _geo field:

sourcetype="dbmon:kv" | eval _geo="47.11,0.815"

(value coped straight from the documentation). Yet still I get the same error.

Please can someone help. I'm pulling my hair out over this one!

Thanks in advance

Tags (1)
0 Karma
1 Solution

starcher
Influencer

try "| geonormalize" after you have setup your _longitude and _latitude values. I seem to recall that is what setups what the google maps app needs

View solution in original post

0 Karma

starcher
Influencer

try "| geonormalize" after you have setup your _longitude and _latitude values. I seem to recall that is what setups what the google maps app needs

0 Karma

mholloway_uk
Explorer

Thanks for your help. I had tried geonormalize with my raw data, but it didn't work which is why I tried the manual method described in the documentation. I have now got it to work by setting the Latitude and Longitude to new variables (lat and lng) that geonormalize recognises.

| eval lat=Latitude | eval lng=Longitude | geonormalize

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...