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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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 ...