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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...