Splunk Search

ipinfo

ismail_salma198
Explorer

I am executing a query in splunk which is below :

 

| makeresults | eval ip="$ip$" | makemv delim="," ip | mvexpand ip | ipinfo ip [ search "10.19.10.10", "%ASA-6-722023", dest="*" | fields dest | rename dest as ip]

 

but it is giving me following error

10 errors occurred while the search was executing. Therefore, search results might be incomplete

  • Unrecognized option: ip=103.208.69.136
  • Unrecognized option: ip=103.226.206.167
  • Unrecognized option: ip=103.96.43.249
  • Unrecognized option: ip=106.193.34.105
  • Unrecognized option: ip=117.221.92.44
  • Unrecognized option: ip=182.70.78.160
  • Unrecognized option: ip=27.97.140.72
  • Unrecognized option: ip=49.36.37.0
  • Unrecognized option: ip=49.36.43.61
  • Unrecognized option: ip=68.228.83.221

 

I have installed IPINFO app on splunk to get the carrier information. 

Labels (1)
Tags (1)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @ismail_salma198,

Your subsearch result format is not suitable for ipinfo command. You don't need to use subsearch.

Please try below; please use a specific index on your searches to help Splunk run faster

 "10.19.10.10" "%ASA-6-722023" dest="*" 
| ipinfo dest

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

493669
Super Champion

@ismail_salma198 
have you made below configuration as mentioned https://splunkbase.splunk.com/app/4070/#/details 

-------------- Configuration ------------

Just update ip_info_setup.conf in $SPLUNK_HOME/etc/apps/ip_info/local/

[api_configuration]
api_url = https://ipinfo.io/
token = <your token here>

and restart Splunk

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @ismail_salma198,

Your subsearch result format is not suitable for ipinfo command. You don't need to use subsearch.

Please try below; please use a specific index on your searches to help Splunk run faster

 "10.19.10.10" "%ASA-6-722023" dest="*" 
| ipinfo dest

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.

ismail_salma198
Explorer

Ur given solution worked.  Much much appreciated. Thanks alot

 

Regards

Ismail Kalolwala 

0 Karma

ismail_salma198
Explorer

It works awesome Thank you man. 

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...