Hi,
We have an external lookup script in our application which uses some external database for performing lookup. It was working fine until recently.
We upgraded our Splunk version to 6.1.3. Suddenly the script is returning the following error:
"Script for lookup table 'external_lookup' returned error code 1. Results may be incorrect."
I tried running the script separately by providing input csv file and it worked without any error. So I am assuming this is due to the upgradation.
Below is my stanza in transforms.conf:
[external_lookup]
external_cmd = external_lookup.py
fields_list = field1 field2 field3 field4 field5 field6 field7
where field1 is the input field and the rest are output fields.
Please help me out with the issue.
Thanks,
Keerthana
Kindly check the props.conf and permissions @ App level too (not lookup's)..
make sure lookup/bnigeoip.csv --> lookup definition --> automatic lookup file every thing are in place and with permissions.
Hi,
We don't need props.conf as we are using the lookup in search query. The app level permission is set to
[]
export = system