<?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: dbconnect - data base input (dump) - double events every time it runs in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94109#M22698</link>
    <description>&lt;P&gt;Hi Dan. &lt;/P&gt;

&lt;P&gt;The thing is I have the dump setup as a cron job that runs once a day. If I clear the index and wait till the next time the job runs I find duplicate events for each row returned from the query.  Im letting splunk generate the index time for each event and I am finding that each duplicate event has the same index time. I would expect to see different timestamps if it was from a previous dump. I found with troubleshooting that setting the input to use the table name instead of the query will only index the table data x1. Ill add my inputs.conf and query shortly.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Joe&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2013 23:30:15 GMT</pubDate>
    <dc:creator>cramasta</dc:creator>
    <dc:date>2013-04-17T23:30:15Z</dc:date>
    <item>
      <title>dbconnect - data base input (dump) - double events every time it runs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94106#M22695</link>
      <description>&lt;P&gt;I have a db input setup to take a dump using a query once a day. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;My settings are &lt;BR /&gt;
-Dump&lt;BR /&gt;
-I have a custom query &lt;BR /&gt;
-Key-Value Format&lt;BR /&gt;
-Include Timestamp&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Everytime that the input runs i get duplicates of each event. My query returns results that dont contain a timestamp which is why I configured the input to create one.  Each duplicate event will have the same splunk generated timestamp.&lt;/P&gt;

&lt;P&gt;If i run the same query with the dbquery command i get the correct number of results&lt;/P&gt;

&lt;P&gt;Any ideas why this is happening?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 14:52:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94106#M22695</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2013-04-15T14:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: dbconnect - data base input (dump) - double events every time it runs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94107#M22696</link>
      <description>&lt;P&gt;FYI - If i tell it to dump the table instead of a query it doesn't index events x2&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 18:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94107#M22696</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2013-04-15T18:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: dbconnect - data base input (dump) - double events every time it runs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94108#M22697</link>
      <description>&lt;P&gt;I believe that is expected behavior for the dump command. The full results of the query will be indexed every time. If you don't have a suitable rising column in the table, you will not be able to get just the new events. &lt;/P&gt;

&lt;P&gt;Can you please post your custom query, or better yet, the contents of inputs.conf?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 16:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94108#M22697</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2013-04-17T16:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: dbconnect - data base input (dump) - double events every time it runs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94109#M22698</link>
      <description>&lt;P&gt;Hi Dan. &lt;/P&gt;

&lt;P&gt;The thing is I have the dump setup as a cron job that runs once a day. If I clear the index and wait till the next time the job runs I find duplicate events for each row returned from the query.  Im letting splunk generate the index time for each event and I am finding that each duplicate event has the same index time. I would expect to see different timestamps if it was from a previous dump. I found with troubleshooting that setting the input to use the table name instead of the query will only index the table data x1. Ill add my inputs.conf and query shortly.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Joe&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 23:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94109#M22698</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2013-04-17T23:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: dbconnect - data base input (dump) - double events every time it runs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94110#M22699</link>
      <description>&lt;P&gt;Have you upgraded from an older version of DB Connect/DBX? If so, which version?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2013 21:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/dbconnect-data-base-input-dump-double-events-every-time-it-runs/m-p/94110#M22699</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-04-18T21:47:33Z</dc:date>
    </item>
  </channel>
</rss>

