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

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!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...