Splunk Search

What's wrong from jdbc config?

hjs123
New Member

Hi.
I want to collect for the ms-sql data.
but, the following error occurs.
I do not know the cause.
What's wrong ?

++++++++++++++ query.properties ++++++++++++++++++++++++++++++++++++++++++++++++++++++
connectionString=jdbc:sqlserver://10.1.1.10;instanceName=STEST;databaseName=master;
username=t_test
password=test123
driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver

++++++++++++++ error log ++++++++++++++++++++++++++++++++++++++++

2012-07-17 11:32:18,941 0 [main] ERROR com.splunk.jdbcscriptedinput.Main - com.microsoft.sqlserver.jdbc.SQLServerException: The connection to the named instance has failed. Error: java.net.SocketTimeoutException: Receive timed out.

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Verify the connectionString. AFAIK, SQL Server no longer uses instance names. Instead server instances are specified by port number (sqlserver://10.1.1.10:10100).

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...