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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...