All Apps and Add-ons

Azure SQL JavaBridgeServer encountered an unknown error

Dan
Splunk Employee
Splunk Employee

We're using DB Connect to connect to an SQL Azure database from Splunk 5.0.2 running on Windows 8.

We installed the appropriate JDBC driver, copied into dbx/bin/lib, restarted splunkd and configured the database. We went to validate the database using the check box and we get "JavaBridgeServer encountered an unknown error" - no other information in jbridge.log or splunkd.log

Tags (1)
0 Karma

Dan
Splunk Employee
Splunk Employee

dbx.log should contain more information about errors when connecting to databases.

You should not need to add a JDBC driver. The driver we ship for MS SQL Server (jTDS) should work.
http://blogs.msdn.com/b/nickhodge/archive/2010/01/25/jdbc-to-sql-azure.aspx

Unfortunately, I just saw that we're overriding the JDBC URL parameter "ssl" with "request". Seems like Azure requires it to be set to "require". Since this is a trivial change, I've created an intermediate build.

Please contact Splunk support for access to this build

You have to configure the database in the configuration file (database.conf):

[azure]
host = <server>.database.windows.net
database = <database>
username = username@server
password = ....
arg.ssl = require
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...