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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

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