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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...