<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk DB Connect ignoring configured intervals for database monitor in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99417#M7469</link>
    <description>&lt;P&gt;I have tried cron format, 60s, etc and sporadically different input monitors don't obey the interval... other configured inputs with the same cron interval are currently working.&lt;/P&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;P&gt;[dbmon-tail://DATABASE/TABLE]&lt;BR /&gt;
host = db.domain.com&lt;BR /&gt;
index = index_name&lt;BR /&gt;
interval = * * * * *&lt;BR /&gt;
output.format = kv&lt;BR /&gt;
output.timestamp = 1&lt;BR /&gt;
sourcetype = table_name&lt;BR /&gt;
table = table_name&lt;BR /&gt;
tail.rising.column = DATE&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
output.timestamp.column = DATE&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:11:26 GMT</pubDate>
    <dc:creator>johnebgood</dc:creator>
    <dc:date>2020-09-28T13:11:26Z</dc:date>
    <item>
      <title>Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99412#M7464</link>
      <description>&lt;P&gt;I have quite a few Oracle database inputs and I discovered they were running one query after another ignoring the interval. I initially had '60' for the interval and it was working initially as I watched the dbx.log like a hawk at first. I then swapped that out for '* * * * *' when I discovered the 60 stopped working and that worked on one indexer but on another I couldn't edit the properties via the UI and had to edit the inputs.conf to add the '* * * * *' cron syntax yet 2 of the 5 database monitor inputs continue to ignore the interval... ideas?&lt;/P&gt;

&lt;P&gt;thanks,&lt;BR /&gt;
John&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 02:03:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99412#M7464</guid>
      <dc:creator>johnebgood</dc:creator>
      <dc:date>2013-01-25T02:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99413#M7465</link>
      <description>&lt;P&gt;It's also sporadic, I updated to 1.0.7, restarted Splunk and now different databases are ignoring the interval.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 02:14:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99413#M7465</guid>
      <dc:creator>johnebgood</dc:creator>
      <dc:date>2013-01-25T02:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99414#M7466</link>
      <description>&lt;P&gt;Found a clue after turning on debugging, the nextExecution=5000, I'm tending to think this is 5 seconds. I initially configured the inputs for 5 seconds but later changed them to 60 seconds. Value being cached somewhere?&lt;/P&gt;

&lt;P&gt;2013-01-24 20:24:27.722 main:DEBUG:Scheduler - Timer for input=[dbmon-tail://DATABASE/TABLE] nextExecution=5000 state=WAITING expired. Executing it now...&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 02:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99414#M7466</guid>
      <dc:creator>johnebgood</dc:creator>
      <dc:date>2013-01-25T02:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99415#M7467</link>
      <description>&lt;P&gt;And one more discovery, the nextExecution for the inputs that are obeying the interval show the date and not a value:&lt;/P&gt;

&lt;P&gt;Interval not working:&lt;BR /&gt;
2013-01-24 20:27:58.911 main:DEBUG:Scheduler - Timer for input=[dbmon-tail://DATABASE/TABLE] nextExecution=5000 state=WAITING expired. Executing it now...&lt;/P&gt;

&lt;P&gt;Interval working:&lt;BR /&gt;
2013-01-24 20:28:00.000 main:DEBUG:Scheduler - Timer for input=[dbmon-tail://DATABASE2/TABLE] nextExecution=Thu Jan 24 20:28:00 CST 2013 state=WAITING expired. Executing it now...&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 02:30:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99415#M7467</guid>
      <dc:creator>johnebgood</dc:creator>
      <dc:date>2013-01-25T02:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99416#M7468</link>
      <description>&lt;P&gt;There was a change how the interval value is interpreted in 1.0.6. Numbers are now treated as seconds (before they have been interpreted as milliseconds). See the &lt;A href="http://docs.splunk.com/Documentation/DBX/1.0.6/DeployDBX/Releasenotes"&gt;release notes&lt;/A&gt;. You can also use relative time-expressions (eg. &lt;CODE&gt;1m&lt;/CODE&gt; for one minute). &lt;/P&gt;

&lt;P&gt;The interval setting is not cached anywhere but is only read when the Java Bridge is restarted or reloaded. When you edit properties of a database input in the config file you typically have to restart Splunk. Database inputs are subject to Splunk's typical configuration layering. To view the actual settings in effect you can use btool:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ splunk cmd btool inputs list dbmon --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Additionally you should be able to see all you configured database inputs and their schedule type when you take a look at the "Java Bridge Server Status" view in the Settings navigation menu in the app. Alternatively you can get the same status information in the console:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ splunk cmd python $SPLUNK_HOME/etc/apps/dbx/bin/status.py
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2013 02:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99416#M7468</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-01-25T02:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99417#M7469</link>
      <description>&lt;P&gt;I have tried cron format, 60s, etc and sporadically different input monitors don't obey the interval... other configured inputs with the same cron interval are currently working.&lt;/P&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;P&gt;[dbmon-tail://DATABASE/TABLE]&lt;BR /&gt;
host = db.domain.com&lt;BR /&gt;
index = index_name&lt;BR /&gt;
interval = * * * * *&lt;BR /&gt;
output.format = kv&lt;BR /&gt;
output.timestamp = 1&lt;BR /&gt;
sourcetype = table_name&lt;BR /&gt;
table = table_name&lt;BR /&gt;
tail.rising.column = DATE&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
output.timestamp.column = DATE&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99417#M7469</guid>
      <dc:creator>johnebgood</dc:creator>
      <dc:date>2020-09-28T13:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99418#M7470</link>
      <description>&lt;P&gt;btool:&lt;/P&gt;

&lt;P&gt;search     query = select * from table_name {{WHERE $rising_column$ &amp;gt; ?}}&lt;BR /&gt;
dbx        sourcetype = table_name&lt;BR /&gt;
dbx        table = table_name&lt;BR /&gt;
dbx        tail.rising.column = DATE&lt;BR /&gt;
dbx        [dbmon-tail://DATABASE/TABLE]&lt;BR /&gt;
dbx        disabled = 0&lt;BR /&gt;
dbx        host = db.domain.com&lt;BR /&gt;
dbx        index = index_name&lt;BR /&gt;
dbx        interval = * * * * *&lt;BR /&gt;
dbx        output.format = kv&lt;BR /&gt;
dbx        output.timestamp = 1&lt;BR /&gt;
dbx        output.timestamp.column = DATE&lt;/P&gt;

&lt;P&gt;status.py:&lt;/P&gt;

&lt;P&gt;[dbmon-tail://DATABASE/TABLE: valid=true disabled=false scheduleType=FIXED interval=5 running=false&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:11:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99418#M7470</guid>
      <dc:creator>johnebgood</dc:creator>
      <dc:date>2020-09-28T13:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99419#M7471</link>
      <description>&lt;P&gt;As a temporary fix is there a way I can change the default interval to 60 seconds?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 19:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99419#M7471</guid>
      <dc:creator>johnebgood</dc:creator>
      <dc:date>2013-01-25T19:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99420#M7472</link>
      <description>&lt;P&gt;You can add the interval to the &lt;CODE&gt;[default]&lt;/CODE&gt; stanza in inputs.conf, this will affect scripted inputs as well, though.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
interval = 60s
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Jan 2013 03:13:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99420#M7472</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-01-29T03:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99421#M7473</link>
      <description>&lt;P&gt;Setting that interval didn't work, it's still running some database monitors every 5 seconds.&lt;/P&gt;

&lt;P&gt;In default/inputs.conf there is a script stanza:&lt;BR /&gt;
[script]&lt;BR /&gt;
interval = 60.0&lt;/P&gt;

&lt;P&gt;I noticed that it was obeying the interval for the first monitor entry in dbx/local/inputs.conf the 2nd entry was a disabled entry and the rest were enabled but the interval wasn't being obeyed. I deleted the disabled entry and now different monitors are obeying the interval... going to troubleshoot some more.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2013 00:27:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99421#M7473</guid>
      <dc:creator>johnebgood</dc:creator>
      <dc:date>2013-02-01T00:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect ignoring configured intervals for database monitor</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99422#M7474</link>
      <description>&lt;P&gt;Hello &lt;/P&gt;

&lt;P&gt;I´m having exactly the same issue, did you find any way to solve it?&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 12:27:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-ignoring-configured-intervals-for-database/m-p/99422#M7474</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2013-03-20T12:27:13Z</dc:date>
    </item>
  </channel>
</rss>

