All Apps and Add-ons

DB Connect 2 automatic lookup fails in Search App (Hunk 6.2.4)

rpujari_splunk
Splunk Employee
Splunk Employee

Hello Folks:

Has anyone run into automatic lookup error with DB Connect 2 on Hunk 6.2.4?
Surprisingly, it works fine if the search is run from DB Connect 2 App. When I use Search & Reporting app, it fails with following error -

The lookup table 'db_connect_clientip_lookup' does not exist. It is referenced by configuration 'access_combined'.
The lookup table 'db_connect_clientip_lookup' does not exist. It is referenced by configuration 'source::/opt/apache/log/access_combined.log|host::dmzlog.splunktel.com|access_combined'.

Just to rule out access control quirks, I set both lookup-definition and automatic-lookup permissions to global, added db_connect_user and db_connect_admin roles to the appropriate user (admin). But still no luck ..

Am I missing anything here?

Thanks.

Tags (1)
0 Karma

woodcock
Esteemed Legend

This can also happen due to namespace collision. If you have more than 1 lookup table defined with the name 'db_connect_clientip_lookup' and Splunk "finds" the wrong one first and the input/output fields do not match, you will get this error. The solution is to change the name of one of the tables to something else and be sure to never re-use any Knowledge Object name (but especially lookups because collisions here are especially common). If this is your problem, be VERY GLAD that your input/output fields do not match because if they did, you would have been using the wrong file but there would be NO INDICATION OF IT!!!

0 Karma

rpujari_splunk
Splunk Employee
Splunk Employee

Thanks for your input.
Apparently this isn't the case with my setup. The db_connect_clientip_lookup is the only external lookup that exists in the system.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...