<?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: Monitor PostgresSQL table in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67815#M43992</link>
    <description>&lt;P&gt;cat ./etc/apps/dbx/local/inputs.conf&lt;BR /&gt;
[script://$SPLUNK_HOME/etc/apps/dbx/bin/jbridge_server.py]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[batch://$SPLUNK_HOME/var/spool/dbmon/*.dbmonevt]&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
move_policy = sinkhole&lt;BR /&gt;
sourcetype = dbmon:spool&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;[dbmon-tail://MyType/Events]&lt;BR /&gt;
output.format = kv&lt;BR /&gt;
output.timestamp = 0&lt;BR /&gt;
table = events&lt;BR /&gt;
tail.rising.column = uploaded&lt;BR /&gt;
host = MyHost&lt;BR /&gt;
index = default&lt;BR /&gt;
interval = auto&lt;BR /&gt;
sourcetype = MyType&lt;BR /&gt;
disabled = 0&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:59:39 GMT</pubDate>
    <dc:creator>jcrane</dc:creator>
    <dc:date>2020-09-28T12:59:39Z</dc:date>
    <item>
      <title>Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67811#M43988</link>
      <description>&lt;P&gt;I am trying to setup a monitor to tail a table in my Postgres DB. I have a TIMESTAMP column that I am specifying as the rising column. It does not seem to be pulling the data in. &lt;/P&gt;

&lt;P&gt;I can query the DB just fine with the exception that the timestamp is formatted in epoch. &lt;/P&gt;

&lt;P&gt;I have a directory monitor that is working just fine. Can someone please give me a few pointers on how to get my table monitor working?&lt;/P&gt;

&lt;P&gt;Thank you,&lt;BR /&gt;
  j&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 21:00:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67811#M43988</guid>
      <dc:creator>jcrane</dc:creator>
      <dc:date>2012-12-18T21:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67812#M43989</link>
      <description>&lt;P&gt;The timestamp being emitted in epoch format is actually intended behavior. &lt;/P&gt;

&lt;P&gt;Regarding your input not indexing your events: Can you please provide further information?&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The input configuration&lt;/LI&gt;
&lt;LI&gt;Any error messages you might spot in DB Connect's debug log. There is a saved search in the app called "Recent DB Connect errors" which can help you with that.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 19 Dec 2012 20:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67812#M43989</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-12-19T20:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67813#M43990</link>
      <description>&lt;P&gt;With your help I was able to see what looks like a memory issue. But I have no idea what to do with it. The table I have is large and I just want to start data from now forward.&lt;/P&gt;

&lt;P&gt;2012-12-19 15:27:16.031 monsch1:ERROR:Scheduler - Caught ExecutionException: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space&lt;/P&gt;

&lt;P&gt;2012-12-19 15:27:16.031 dbx4409:INFO:ExecutionContext - Execution finished in duration=24530 ms&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 23:38:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67813#M43990</guid>
      <dc:creator>jcrane</dc:creator>
      <dc:date>2012-12-19T23:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67814#M43991</link>
      <description>&lt;P&gt;cat ./etc/apps/dbx/default/inputs.conf&lt;/P&gt;

&lt;H1&gt;Copyright (C) 2005-2012 Splunk Inc. All Rights Reserved.&lt;/H1&gt;

&lt;H1&gt;JBridge Server script&lt;/H1&gt;

&lt;P&gt;[script://$SPLUNK_HOME/etc/apps/dbx/bin/jbridge_server.py]&lt;BR /&gt;
index = _internal&lt;BR /&gt;
sourcetype = dbx_jbridge&lt;BR /&gt;
interval = 0&lt;BR /&gt;
disabled = true&lt;BR /&gt;
passAuth = admin&lt;BR /&gt;
[script://$SPLUNK_HOME\etc\apps\dbx\bin\jbridge_server.py]&lt;BR /&gt;
index = _internal&lt;BR /&gt;
sourcetype = dbx_jbridge&lt;BR /&gt;
interval = 0&lt;BR /&gt;
disabled = true&lt;BR /&gt;
passAuth = admin&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:59:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67814#M43991</guid>
      <dc:creator>jcrane</dc:creator>
      <dc:date>2020-09-28T12:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67815#M43992</link>
      <description>&lt;P&gt;cat ./etc/apps/dbx/local/inputs.conf&lt;BR /&gt;
[script://$SPLUNK_HOME/etc/apps/dbx/bin/jbridge_server.py]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[batch://$SPLUNK_HOME/var/spool/dbmon/*.dbmonevt]&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
move_policy = sinkhole&lt;BR /&gt;
sourcetype = dbmon:spool&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;[dbmon-tail://MyType/Events]&lt;BR /&gt;
output.format = kv&lt;BR /&gt;
output.timestamp = 0&lt;BR /&gt;
table = events&lt;BR /&gt;
tail.rising.column = uploaded&lt;BR /&gt;
host = MyHost&lt;BR /&gt;
index = default&lt;BR /&gt;
interval = auto&lt;BR /&gt;
sourcetype = MyType&lt;BR /&gt;
disabled = 0&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:59:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67815#M43992</guid>
      <dc:creator>jcrane</dc:creator>
      <dc:date>2020-09-28T12:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67816#M43993</link>
      <description>&lt;P&gt;You can configure the input to fetch new data from now on by specifying &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tail.follow.only = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in the &lt;CODE&gt;[dbmon-tail://MyType/Events]&lt;/CODE&gt; stanza in inputs.conf.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 23:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67816#M43993</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-12-19T23:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67817#M43994</link>
      <description>&lt;P&gt;(After you changed the file, a restart is necessary in order for DB Connect to pick up the changes)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 23:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67817#M43994</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-12-19T23:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67818#M43995</link>
      <description>&lt;P&gt;This still did not solve the monitor issue. Maybe I don't need it. I seem to be able to save queries and put the results in a dashboard. Should I just ignore doing a monitor on the DB tables?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 01:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67818#M43995</guid>
      <dc:creator>jcrane</dc:creator>
      <dc:date>2012-12-20T01:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67819#M43996</link>
      <description>&lt;P&gt;Forgot to mention I am not seeing any log issues for the monitor.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 01:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67819#M43996</guid>
      <dc:creator>jcrane</dc:creator>
      <dc:date>2012-12-20T01:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67820#M43997</link>
      <description>&lt;P&gt;You might want to try the database monitor again with the latest version. There was a potential problem with the postgres JDBC driver that is now being taken care of.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 04:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67820#M43997</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-01-16T04:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor PostgresSQL table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67821#M43998</link>
      <description>&lt;P&gt;I did try to upgrade and it didn't seem to help the monitor. Actually it seems the change made the errors coming back from the DB less clear in Splunk. That is not a big deal the logs in the DB show exactly what happened to the query but it was worth noting.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2013 23:16:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Monitor-PostgresSQL-table/m-p/67821#M43998</guid>
      <dc:creator>jcrane</dc:creator>
      <dc:date>2013-02-12T23:16:00Z</dc:date>
    </item>
  </channel>
</rss>

