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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...