All Apps and Add-ons

DB Connect Tail Not Keeping Up With Log Volume

dflodstrom
Builder

We have a dbconnect (v1.2.2) input that is failing to keep up with log volume. We this feed spikes once every couple of weeks and after the spike the event feed almost stops. It usually 'fixes' itself after a restart of splunkd or the server itself.

Looking at dbx.log I can see the connection to the db being made and that it is retrieving a couple of events at a time. The poll frequency is set to auto and I see the connection being made frequently.

Has anyone experienced a similar issue? Any idea what we might do to get it going again?

0 Karma

mdsnmss
SplunkTrust
SplunkTrust

It doesn't appear this applies to v1.2.2 since that is a bit out of date but I do know in version of 2.x.x there are settings called "Max Rows to Retrieve" and "Fetch Size". I believe default for "Max Rows to Retrieve" is 10000 and "Fetch Size" is 300. Based on documentation there is a pretty good difference between 1.2.2 and 2.0.0.

https://docs.splunk.com/Documentation/DBX/1.2.2/DeployDBX/Configuredatabasemonitoring
https://docs.splunk.com/Documentation/DBX/2.0.0/DeployDBX/Createandmanagedatabaseoutputs

Looking at 1.2.2 docs I am not seeing a setting in the inputs.conf file that would relate to those settings that are introduced in 2.0.0 making it appear it just attempts to grab all new entries from the latest value retrieved in the rising column. You could play with the cron interval the grab is scheduled to pull at to see if breaking it up into more manageable queries for DBConnect helps. I'm not sure the frequency setting it to "auto" would produce as it is dependent on volume. Looking at the inputs.conf for version 1.X the setting options seem to be severely limited.

I'd recommend upgrading to a more current version if possible as 1.X is also end of life as of July, 2016. The are some optimizations that speed up these returns and more customization in later releases. It seems your DB may be producing events faster than DBConnect can keep up with at that version.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...