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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...