All Apps and Add-ons

com.splunk.dbx.exception.NotFoundException: Can not find object TEST3 of type connection.

jimbolya11
New Member

I've seen this error in the forums but no one has really answered it in a way that solves the issue.

I have zero errors in adding the connection.

I'm wondering if I simply need to continue to swap out the jdbc driver till it works.

I'm trying to connect to Maria db.

I've done it in the past and documented it.

However, this go around it's not working at all.

I've tried drivers for MySQL both versions 8.0 and 5.1 -

Previous success was with older 3.0 version of db connect and driver version 5.1.

Installed driver version 5.1 and it did remove the timezone error, but still cannot view any of the tables like I used to be able to do.

Cheers ~!

0 Karma

cyue_splunk
Splunk Employee
Splunk Employee

I met the same error during the DB Connect set up. The solution that works in my situation is to check 

$SPLUNK_HOME/etc/apps/splunk_app_db_connect/metadata/local.meta

There are definitions for  identities and db_connections. Make sure the "export = system" instead of  "export = none". It should look like this:

[identities/xxxxxx]

access = read : [ * ], write : [ admin, db_connect_admin ]

export = system

owner = xxxxxx

......

[db_connections/xxxxxx]

access = read : [ * ], write : [ admin, db_connect_admin ]

export = system

owner = xxxxxx

......

0 Karma

jimbolya11
New Member

Anyone able to help with this?

0 Karma
Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...