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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...