All Apps and Add-ons

Splunk DB Connect 2: Why am I getting Internal Server Error trying to connect to MS SQL Server 2012?

samtawfik
New Member

Having an issue connecting to MS SQL server 2012 (local). Error : "⚠ Internal Server Error"

Here is my db_connections.conf file modified:

[splunkcn]
connection_type = mssql
database = ZiteDB
host = CAWCDELL158\SQLEXPRESS
identity = splunkDB
jdbcUseSSL = 0
jdbcUrlFormat = jdbc:jtds:sqlserver://<host>:<port>/<database>;useCursors=true;domain=<domain_name>;useNTLMv2=true
domain_name = MSSQLSERVER12
disabled = 0
port = 50375

Here is my DB Connect V2 configuration: No issue on my identities screen.

App: Splunk DB Connect v2
Host: CAWCDELL158\SQLEXPRESS
Database Types: MS SQL Server Using jTDS driver
Default Database: ZiteDB
Identity: splunkDB
Port: 50375

I am suspecting the issue is in the conf file, specific to the Domain Name.
Thanks in advance.

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee
0 Karma

samtawfik
New Member

jTDS driver is installed, as well as JRE 8.

0 Karma

youngc_splunk
Splunk Employee
Splunk Employee

Sam, maybe we should use DB Connect 1 until someone answers this DB Connect 2 issue.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...