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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...