All Apps and Add-ons

Splunk DB Connect 2: How to resolve error "Script for lookup table 'db_connect_dblookup' returned error code 1"?

kenkenou
Explorer

Does anyone have the same problem?
dbxquery works, but dblookup doesn't work!

ERROR LOG:

10-31-2016 13:39:41.452 ERROR ScriptRunner - stderr from 'D:\Splunk\bin\PYTHON.EXE D:\Splunk\etc\apps\splunk_app_db_connect\bin\dbxlookup.py dblookup':  Traceback (most recent call last):
10-31-2016 13:39:41.452 ERROR ScriptRunner - stderr from 'D:\Splunk\bin\PYTHON.EXE D:\Splunk\etc\apps\splunk_app_db_connect\bin\dbxlookup.py dblookup':    File "D:\Splunk\etc\apps\splunk_app_db_connect\bin\dbxlookup.py", line 114, in 
10-31-2016 13:39:41.452 ERROR ScriptRunner - stderr from 'D:\Splunk\bin\PYTHON.EXE D:\Splunk\etc\apps\splunk_app_db_connect\bin\dbxlookup.py dblookup':      raise ex
10-31-2016 13:39:41.452 ERROR ScriptRunner - stderr from 'D:\Splunk\bin\PYTHON.EXE D:\Splunk\etc\apps\splunk_app_db_connect\bin\dbxlookup.py dblookup':  avro.ipc.AvroRemoteException: java.lang.IllegalArgumentException: ui_query_table is a mandatory configuration to build single table lookup.
10-31-2016 13:39:41.974 ERROR LookupOperator - Script for lookup table 'db_connect_dblookup' returned error code 1.  Results may be incorrect.

QUERY:

|dbxquery shortnames=t query="SELECT USER_ID,NAME FROM  where NAME IS NOT NULL" connection="oralceConnection" wrap=t |fields - _raw _time |lookup db_connect_dblookup USER_ID AS USER_ID 
0 Karma
1 Solution

kenkenou
Explorer
0 Karma

kenkenou
Explorer
0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...