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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...