I am facing an issue where Splunk is not able to connect to specific tables of some databases. I am getting the below error in Splunk logs.
ERROR:Database - Database validation failed for database Database{name='SA-SSDSQL49', databaseType=com.splunk.dbx.sql.type.impl.MicrosoftSqlServer@1ce9b8b2, host='sa-ssdsql49', port=1433, username='sa-ssdsplunk_sqldb_r', database='******'}: java.sql.SQLException: I/O Error: Connection reset by peer: socket write error
java.sql.SQLException: I/O Error: Connection reset by peer: socket write error
at net.sourceforge.jtds.jdbc.TdsCore.executeSQL(TdsCore.java:1093)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:493)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1427)
at com.splunk.dbx.sql.Database.validateConnection(Database.java:487)
at com.splunk.dbx.sql.factory.PooledConnectionFactory.validateObject(PooledConnectionFactory.java:129)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1230)
at com.splunk.dbx.sql.factory.PooledConnectionFactory.getConnection(PooledConnectionFactory.java:70)
at com.splunk.dbx.sql.Database.getConnection(Database.java:516)
at com.splunk.dbx.sql.Database.query(Database.java:252)
at com.splunk.dbx.monitor.impl.DumpDatabaseMonitor.performMonitoring(DumpDatabaseMonitor.java:58)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.executeMonitor(DatabaseMonitorExecutor.java:126)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:102)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:37)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runW
Also getting another error log.
dbx9100:WARN:PooledConnectionFactory - Pooled Connection validation failed: com.splunk.dbx.sql.Database$DatabaseValidationException: Error validating database: java.sql.SQLException: I/O Error: Connection reset by peer: socket write error
Anyone who can help on this?
↧