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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...