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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...