Splunk Search

Search query that filters results by geolocation

ptur
Path Finder

Simply put i index a logon log to one of our services. I would like to create a table that would show me results based on geolocation, i.e. in this case, all connections made from IP addresses outside of north america. Is this possible on Splunk Cloud?

Thanks!

Tags (1)
0 Karma
1 Solution

mgast
Explorer

sourcetype=access_* status>=400 | head 20 | iplocation clientip | table clientip, status, City, Country|where Country !="United States"

Splunk has a builtin iplocation that works great.

View solution in original post

0 Karma

mgast
Explorer

sourcetype=access_* status>=400 | head 20 | iplocation clientip | table clientip, status, City, Country|where Country !="United States"

Splunk has a builtin iplocation that works great.

0 Karma

ptur
Path Finder

thanks! looks great

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...