<?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: DBX TailDatabaseMonitor Error in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41909#M6967</link>
    <description>&lt;P&gt;SELECT TRANSACTION_ID, TRANSACTION_DATE, OTHER, FIELDS FROM MYSCHEMA.MY_TABLE  {{WHERE $TRANSACTION_ID$ &amp;gt; ?}}&lt;/P&gt;

&lt;P&gt;I am doing this as the DB owners would prefer I didn't grab the entire row. I am not doing anything clever with the query just grabing a subset of the fields from a single table.&lt;/P&gt;

&lt;P&gt;I am not doing any timestamping as the date field for some reason comes out as date only and no timestamp.&lt;/P&gt;

&lt;P&gt;The DB is Oracle 10.2. and the JVM is Sun 1.6.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:57:16 GMT</pubDate>
    <dc:creator>domgkc</dc:creator>
    <dc:date>2020-09-28T13:57:16Z</dc:date>
    <item>
      <title>DBX TailDatabaseMonitor Error</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41907#M6965</link>
      <description>&lt;P&gt;I am receiving an error in the DB Connect application.&lt;BR /&gt;
Was having issues with the timestamping and event breaking.&lt;BR /&gt;
The database is Oracle, the DB Info section shows the timestamp field as a "DATE" object but only extracts the epoch value of the Date and not the full timestamp.&lt;/P&gt;

&lt;P&gt;Change the table monitoring to use the extract time by omitting the timestamp field and now the extract fails with the following &lt;/P&gt;

&lt;P&gt;2013-05-22 09:26:13.735 dbx3559:ERROR:TailDatabaseMonitor - Error while executing database monitor: java.lang.IllegalArgumentException: Illegal group reference&lt;BR /&gt;
java.lang.IllegalArgumentException: Illegal group reference&lt;BR /&gt;
    at java.util.regex.Matcher.appendReplacement(Matcher.java:713)&lt;BR /&gt;
    at com.splunk.dbx.monitor.impl.TailDatabaseMonitor.buildSqlQuery(TailDatabaseMonitor.java:59)&lt;BR /&gt;
    at com.splunk.dbx.monitor.impl.TailDatabaseMonitor.performMonitoring(TailDatabaseMonitor.java:92)&lt;BR /&gt;
    at com.splunk.dbx.monitor.DatabaseMonitorExecutor.executeMonitor(DatabaseMonitorExecutor.java:126)&lt;BR /&gt;
    at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:102)&lt;BR /&gt;
    at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:37)&lt;BR /&gt;
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&lt;BR /&gt;
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)&lt;BR /&gt;
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)&lt;BR /&gt;
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&lt;BR /&gt;
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)&lt;BR /&gt;
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)&lt;BR /&gt;
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&lt;BR /&gt;
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)&lt;BR /&gt;
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;BR /&gt;
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;BR /&gt;
    at java.lang.Thread.run(Thread.java:662) &lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2013 22:35:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41907#M6965</guid>
      <dc:creator>domgkc</dc:creator>
      <dc:date>2013-05-21T22:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: DBX TailDatabaseMonitor Error</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41908#M6966</link>
      <description>&lt;P&gt;Could you please provide the custom SQL query you are using?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2013 00:09:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41908#M6966</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-05-22T00:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: DBX TailDatabaseMonitor Error</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41909#M6967</link>
      <description>&lt;P&gt;SELECT TRANSACTION_ID, TRANSACTION_DATE, OTHER, FIELDS FROM MYSCHEMA.MY_TABLE  {{WHERE $TRANSACTION_ID$ &amp;gt; ?}}&lt;/P&gt;

&lt;P&gt;I am doing this as the DB owners would prefer I didn't grab the entire row. I am not doing anything clever with the query just grabing a subset of the fields from a single table.&lt;/P&gt;

&lt;P&gt;I am not doing any timestamping as the date field for some reason comes out as date only and no timestamp.&lt;/P&gt;

&lt;P&gt;The DB is Oracle 10.2. and the JVM is Sun 1.6.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:57:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41909#M6967</guid>
      <dc:creator>domgkc</dc:creator>
      <dc:date>2020-09-28T13:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: DBX TailDatabaseMonitor Error</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41910#M6968</link>
      <description>&lt;P&gt;You can either use the column name directly or use literal &lt;CODE&gt;$rising_column$&lt;/CODE&gt; that is replaced with the value you entered in the rising column field for the input. So either of the following 2 queries should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SELECT TRANSACTION_ID, TRANSACTION_DATE, OTHER, FIELDS FROM MYSCHEMA.MY_TABLE  {{WHERE TRANSACTION_ID &amp;gt; ?}}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SELECT TRANSACTION_ID, TRANSACTION_DATE, OTHER, FIELDS FROM MYSCHEMA.MY_TABLE  {{WHERE $rising_column$ &amp;gt; ?}}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 May 2013 01:11:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/DBX-TailDatabaseMonitor-Error/m-p/41910#M6968</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-05-22T01:11:37Z</dc:date>
    </item>
  </channel>
</rss>

