All Apps and Add-ons

Splunk DB Connect 2: Why am I getting "Internal Server Error" trying to validate a connection to a MS SQL database?

rbigeard
Explorer

I am getting a lot of "Internal Server" Errors popping up as I try to validate a connection to an MS SQL database using DB Connect V2.

Anyone else experiencing the same problem? The splunk logs are not very useful in that respect.

Tags (2)

luislema
Path Finder

You need to open your firewall for port 1433.

0 Karma

pkiripolsky
Path Finder

I downvoted this post because ms sql server doesn't follow traditional port assignment and generally uses dynamically assigned ports.
this is directly from splunk troubleshooting:
" many microsoft sql servers use dynamic ports instead of tcp/1433. work with your database administrator to identify the correct port, or see "verifying the port configuration of an instance of sql server" on the microsoft website."

0 Karma

sreepaada
New Member

provides the sql server authentication for the user account which you are trying to connect

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

DBX2 is not able to use a non-SQL account for MS-SQL at this time, unless one of these workarounds is effective for you: http://docs.splunk.com/Documentation/DBX/2.0.2/DeployDBX/Troubleshooting#Cannot_connect_to_Microsoft...

lbenjaminvoigt
Explorer

Appears to be multiple issues on my side... I'm connecting to multiple MSSQL DBs with either a local DB account or an AD account that's been provisioned access to the database. Downgrading from sqljdbc41.jar to sqljdbc4.jar fixed my issue connecting to a MSSQL DB with a local DB account.

However, I still get an error trying to connect to a MSSQL DB using AD credentials. I've attempted multiple databases with various AD accounts.

[WARNING] [health.py] com.microsoft.sqlserver.jdbc.SQLServerException:Login failed for user 'domain\user'
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...