Getting Data In

iplocation command not working

krish3
Contributor

Hi,

I am using splunk enterprise 6.0 and i used iplocation command on a index using the following command and it just returned the results fine.

index=idx1 sourcetype=access_combined ....| iplocation prefix=iploc_ allfields=true clientip

Now I am using the same command on different index and different sourcetype its not working.

index=idx2 sourcetype="access_*" .... | iplocation clientip

There are no interesting fields column in the search results page?? Any idea why is this happening.
Thanks,

0 Karma

hagjos43
Contributor

Splunk 6.1 has changed the iplocation a bit.

.... | iplocation clientip | stats count by Country, Region

works natively now 🙂

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