Splunk Search

Optiv Threat Intel: "Error in 'dnslookup' command: Cannot find program 'dnslookup' or script 'dnslookup'."

john_glasscock
Path Finder

I have downloaded and installed OPTIV on my search head. It is installed in /opt/splunk/etc/apps. When the dashboards populate, the ones that reference dnslookups shows the following error:

Error in 'dnslookup' command: Cannot find program 'dnslookup' or script 'dnslookup'.
0 Karma

derekarnold
Communicator

John,
Please check for the existence of these files in the default directory

transforms.conf:

[dnsLookup]
## this stanza name will be called by your entry in props.conf and IS case sensitive
external_cmd = external_lookup.py host ip
fields_list = host, ip

commands.conf:

[dnslookup]
filename=dnslookup.py
run_in_preview = true

in the /bin folder there needs to be a dnslookup.py

0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...