Splunk Search

Is it possible to use ".exe" as an External Lookup?

madsurfer
Explorer

Hi,

Is it possible to use ".exe" as an External Lookup?

Everything I make a lookup in a search I receive the following errors:
- Error in 'lookup' command: The lookup table 'goredislookup' does not exist or is not available.
- LookupOperator - Could not find 'redislookup.exe'. It is required for lookup 'goredislookup'.

Thanks,

David

0 Karma

jplumsdaine22
Influencer

As the UI says in the define lookup screen "Specify the command and arguments to invoke to perform lookups. The command must be a Python script located in $SPLUNK_HOME/etc/apps/app_name/bin or $SPLUNK_HOME/etc/searchscripts."

You could just make a python wrapper that calls an exe - have a look here for starters https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module or just have a look on stackoverflow

0 Karma
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>