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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...