Monitoring Splunk

DB Connect to SQL Server returning Java Unknown Data Source Error

chrisfoot
New Member

We installed DB Connect to access a SQL Server database. We established a connection and can pull data using Splunk's GUI screens. We can see the database, tables, data...

We are now attempting to access the SQL Server database using Splunk's DB Monitor jobs.

When we run the Monitor, we get the messages below. Any ideas on what we are doing wrong? We turned a trace on the target SQL Server database and it doesn't even see the connection.

I thought that if the GUI screen in Splunk was able to access the SQl Server DB, the DB monitor would also be able to. Any advice would be appreciated.

splunk.dbx.monitor.DbmonException: Cancelling subsequent run of oneshot dump monitor (AUTO schedule)
at com.splunk.dbx.monitor.impl.DumpDatabaseMonitor.performMonitoring(DumpDatabaseMonitor.java:35)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.executeMonitor(DatabaseMonitorExecutor.java:124)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:101)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:36)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source

Tags (2)
0 Karma

ziegfried
Influencer

The error message means that DB Connect stops executing your database input after it has been executed once. This is default behavior for the "Dump" input method if you don't provide a schedule or an interval. Since you're seeing the error message, your input has already successfully been executed once and you should be able to see indexed data - if there have been results.

You can adjust the settings for the input and configure it to run on a regular basis by providing an interval (in seconds or a relative time expression) or a cron schedule.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...