Splunk Search

Can't filter by Country even though there is count

bayman
Path Finder

When I run the following search, I get a list of countries and their count.

eventtype=cisco-firewall src_ip="*" dest_port="445" | iplocation src_ip | stats count by Country

But when I click on one of the countries and click "View Events" it runs the new search below but returns "No results found" even though I know the Country has events from the first search based on the count. What am I doing wrong?

eventtype=cisco-firewall src_ip="*" dest_port="445"  Country=Canada| iplocation src_ip 
0 Karma
1 Solution

bayman
Path Finder
eventtype=cisco-firewall src_ip="*" dest_port="445" | iplocation src_ip | search Country=Canada

View solution in original post

0 Karma

bayman
Path Finder
eventtype=cisco-firewall src_ip="*" dest_port="445" | iplocation src_ip | search Country=Canada
0 Karma

MuS
Legend

Isn't the field Country only available after the iplocation command?

0 Karma

bayman
Path Finder

I think there is a bug in the Cisco Firewall app for "View Events"

Changing the search to this works as you suggested:

eventtype=cisco-firewall src_ip="*" dest_port="445" | iplocation src_ip | search Country=Canada
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...