Dashboards & Visualizations

Displaying Google Maps GeoIP Data

aaronkorn
Splunk Employee
Splunk Employee

For some reason we cannot get the google maps app to plot our points on the map. This is the search we have:

sourcetype="TEST"| geoip SourceIP | eval _geo=SourceIP_latitude+","+SourceIP_longitude

but google maps keeps saying there is not data to plot even after casting a _geo variable concatenating the lon and lat. Any ideas?

Tags (3)
0 Karma

asmall
Explorer

I am guessing that SourceIP is your field that contains an IP address. If this is true try:

sourcetype="TEST" SourceIP=* | stats count by SourceIP | geoip SourceIP

Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...