All Apps and Add-ons

Splunk DBconnect interval question

mwdbhyat
Builder

Hi there,

If I want dbconnect to continuously and instantly read a DB do I just set the interval to 0 - are there any implications to doing this, such as large performance overheads?

Thanks!

0 Karma
1 Solution

mchang_splunk
Splunk Employee
Splunk Employee

By referring to document:
http://docs.splunk.com/Documentation/DBX/3.1.2/DeployDBX/Createandmanagedatabaseinputs#Parameter_set...

The minimum interval is 1 minute:
Execution Frequency: The number of seconds or a valid cron expression i.e. 0 18 * * * (every day at 6PM).

View solution in original post

0 Karma

jcoates
Communicator
  1. It's a batch input, not a stream, so you can't really do what you're describing at all. If you want streaming behavior the source has to support that also, and DBX's Java layer would need to be modified.
  2. yes, there would be performance implications of batching very quickly. You want to consider how rapidly the data you want arrives in the database, and how long it takes the database to respond to your query. Then set execution time to be a little slower than that. This is a balancing act for batch jobs because the longer you wait the more rows there are to return, but if you go too fast your connection setup is going to be more expensive than your data movement.

mchang_splunk
Splunk Employee
Splunk Employee

By referring to document:
http://docs.splunk.com/Documentation/DBX/3.1.2/DeployDBX/Createandmanagedatabaseinputs#Parameter_set...

The minimum interval is 1 minute:
Execution Frequency: The number of seconds or a valid cron expression i.e. 0 18 * * * (every day at 6PM).

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...