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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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 ...