All Apps and Add-ons

Splunk DB Connect 3.5.1 and MariaDB 2.7.1: Catalog loads. Other queries fail.

SierraX
Communicator

Hi,

I own a OwnCloud Server with a MariaDB as Database:
My db_connection_types.conf based on the Post here from 2017, which has a few errors inside (missing Tokens, wrong supported Versions, serviceClass with MySQL...)

 

 

 

 

[mariadb]
displayName = MariaDB
serviceClass = com.splunk.dbx2.DefaultDBX2JDBC
jdbcUrlFormat = jdbc:mariadb://<host>:<port>/<database>
jdbcUrlSSLFormat = jdbc:mariadb://<host>:<port>/<database>?useSSL=true&requireSSL=true&verifyServerCertificate=false
jdbcDriverClass = org.mariadb.jdbc.Driver
supportedMajorVersion = 2
supportedMinorVersion = 7
port = 3306
testQuery = SELECT 1
ui_default_catalog = $database$

 

 

 

 

anyway.
I chose the driver mariadb-java-client-2.7.1.jar because DBeaver downloaded this Version automatically and there I can select my data.
With the db_connection_types.conf I can create a connection and receive the catalog. 
But in the SQL Explorer I receive every-time
a "Error in 'dbxquery' command: External search command exited unexpectedly with non-zero error code 1." 
also for very basic querys (like "select * form `d040ddbe`.`5zdza_share`). Tested with same result on jre1.8.0_291 and jdk-11.0.11.
Has someone a similar system running and could give me a few hints where I'm wrong?

Kind Regards
SierraX 

Labels (2)
0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...