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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...