Splunk Search

searching iplocation generated fields

shermantsui
New Member

Hi, Splunk newbie here. I am trying to search for values in fields generated by the iplocation command (i.e., Country, City, Continent) but it doesn't appear to recognize those fields. I can table or stats the results but not search.

Here is sample search:

iplocation Caller_ID allfields=true |Country="United States"

Which returns the message:

Unknown search command 'country'. 

Any suggestions?

Tags (1)
0 Karma
1 Solution

pradeepkumarg
Influencer

Check if this works..
iplocation Caller_ID allfields=true |search Country="United States"

View solution in original post

pradeepkumarg
Influencer

Check if this works..
iplocation Caller_ID allfields=true |search Country="United States"

shermantsui
New Member

Thanks! Problem solved.

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