<?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: db connect trailing input in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/db-connect-trailing-input/m-p/105411#M97566</link>
    <description>&lt;P&gt;No, it will not pick up the change because the Trailing Input functions by monitoring the RisingColumn.&lt;/P&gt;

&lt;P&gt;You are right about the Dump option - it will create duplicate records.&lt;/P&gt;

&lt;P&gt;The easiest way to protect from duplicate data is isolate the database data in its own index:&lt;/P&gt;

&lt;P&gt;1)  Create an index dedicated to that database data.&lt;/P&gt;

&lt;P&gt;2)  When new data is entered into the database, clean the index with $SPLUNK_HOME/bin/splunk clean eventdata  -index  &lt;INDEX name=""&gt;&lt;/INDEX&gt;&lt;/P&gt;

&lt;P&gt;Note: You must stop splunkd first, and be careful with this command  because you can accidentally delete all indexes.&lt;/P&gt;

&lt;P&gt;3)  Re-ingest the entire database.&lt;/P&gt;

&lt;P&gt;Your best option would be to create a (or use) the column that timestamps any changes to a record (a true RisingColumn)&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2013 13:13:44 GMT</pubDate>
    <dc:creator>lukejadamec</dc:creator>
    <dc:date>2013-07-26T13:13:44Z</dc:date>
    <item>
      <title>db connect trailing input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/db-connect-trailing-input/m-p/105410#M97565</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have a database that we would like to do a trailing input on based on the incrementing ID. Once it is indexed into Splunk via the query, if that record on the database is updated will Splunk pickup that change and update the indexed record? If not should we use the dump option? My only concern with the dump option is duplicate records and how to overcome that.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2013 15:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/db-connect-trailing-input/m-p/105410#M97565</guid>
      <dc:creator>aaronkorn</dc:creator>
      <dc:date>2013-07-24T15:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: db connect trailing input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/db-connect-trailing-input/m-p/105411#M97566</link>
      <description>&lt;P&gt;No, it will not pick up the change because the Trailing Input functions by monitoring the RisingColumn.&lt;/P&gt;

&lt;P&gt;You are right about the Dump option - it will create duplicate records.&lt;/P&gt;

&lt;P&gt;The easiest way to protect from duplicate data is isolate the database data in its own index:&lt;/P&gt;

&lt;P&gt;1)  Create an index dedicated to that database data.&lt;/P&gt;

&lt;P&gt;2)  When new data is entered into the database, clean the index with $SPLUNK_HOME/bin/splunk clean eventdata  -index  &lt;INDEX name=""&gt;&lt;/INDEX&gt;&lt;/P&gt;

&lt;P&gt;Note: You must stop splunkd first, and be careful with this command  because you can accidentally delete all indexes.&lt;/P&gt;

&lt;P&gt;3)  Re-ingest the entire database.&lt;/P&gt;

&lt;P&gt;Your best option would be to create a (or use) the column that timestamps any changes to a record (a true RisingColumn)&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2013 13:13:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/db-connect-trailing-input/m-p/105411#M97566</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-07-26T13:13:44Z</dc:date>
    </item>
  </channel>
</rss>

