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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...