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!

Harnessing Splunk’s Federated Search for Amazon S3

Managing your data effectively often means balancing performance, costs, and compliance. Splunk’s Federated ...

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...