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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...