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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...