All Apps and Add-ons

How to use google Maps?

akash3664
New Member

Hello All,

I am new to Google maps app in splunk and I am trying to plot the data on the graph but I am not able to get any point the graph.

I have one CSV file which has below information:

name _geo
Florida "27.664827,-81.515753"
Texas "31.968599,-99.901813"

I have uploaded this file and when I executed the search:
source="try2.csv" | geoip name

it does not show any point on the map and not getting any result in Geo result but in the events it shows data

Can anybody help me with this?

0 Karma

Jon_Webster
Splunk Employee
Splunk Employee

Check the README.txt file in the SPLUNK_HOME/etc/apps/maps directory.

The map expects the _geo field to contain latitude and longitude in the format "27.664827,-81.515753", so you have the correct data, but you need to place it in the _geo field.

Assuming that your field extractions are mapped like this:
Field names: Name, _geo
Data: Florida, "27.664827,-81.515753"
Data: Texas, "31.968599,-99.901813"

This search should map all events that contain a valid latitude/longitude in the _geo field:
source="try2.csv"

You may be merging several ideas here and getting confused. If you are using the csv file as a lookup, so you can pass a state name to the lookup and get back the lat/long, then your search should be referencing the lookup you created for the csv file.

The "geoip" command that you're using is meant to pass an IP address and return a field named _geo that contains the latitude and longitude. Since you're not passing it an IP address you're not getting back the lat/long, and nothing appears on the map.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...