<?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 not parsing timestamp properly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68011#M97000</link>
    <description>&lt;P&gt;What is the error in the dbx log?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2013 14:23:42 GMT</pubDate>
    <dc:creator>lukejadamec</dc:creator>
    <dc:date>2013-09-19T14:23:42Z</dc:date>
    <item>
      <title>DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68008#M96997</link>
      <description>&lt;P&gt;Hi ir-respective of what timestamp is present in timestamp column of my Oracle DB, the timestamp in the event is replaced to "1970-01-01 00:59:59".&lt;/P&gt;

&lt;P&gt;In oracle DB the timestamp column contains data like  2013-09-19T14:31:12&lt;/P&gt;

&lt;P&gt;and the configuration in my inputs.conf is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    [dbmon-tail://SAMPLE/SPLUNK_USER.SAMPLEINPUT]
host = testhost
interval = * * * * *
output.format = kv
output.timestamp = 1
output.timestamp.column = PAYLOADDATE
output.timestamp.parse.format = yyyy-MM-dd HH:mm:ss
sourcetype = test_st
table = SPLUNK_USER.SAMPLEINPUT
tail.rising.column = PAYLOADDATE
index = default
query = SELECT * FROM SAMPLEINPUT {{WHERE $rising_column$ &amp;gt; ?}}
output.timestamp.format = yyyy-MM-dd HH:mm:ss
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note: PAYLOADDATE column is a varchar2 type&lt;/P&gt;

&lt;P&gt;Can you please highlight what i am doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:47:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68008#M96997</guid>
      <dc:creator>adityapavan18</dc:creator>
      <dc:date>2013-09-19T13:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68009#M96998</link>
      <description>&lt;P&gt;For your output and output parse formats, have you tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yyyy-MM-dd'T'HH:mm:ss
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68009#M96998</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-09-19T13:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68010#M96999</link>
      <description>&lt;P&gt;then nothing gets indexed&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68010#M96999</guid>
      <dc:creator>adityapavan18</dc:creator>
      <dc:date>2013-09-19T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68011#M97000</link>
      <description>&lt;P&gt;What is the error in the dbx log?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68011#M97000</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-09-19T14:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68012#M97001</link>
      <description>&lt;P&gt;there are no errors in dbx logs&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:32:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68012#M97001</guid>
      <dc:creator>adityapavan18</dc:creator>
      <dc:date>2013-09-19T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68013#M97002</link>
      <description>&lt;P&gt;My mistake i used only T changed it to 'T' its working now thnx&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:39:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68013#M97002</guid>
      <dc:creator>adityapavan18</dc:creator>
      <dc:date>2013-09-19T14:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68014#M97003</link>
      <description>&lt;P&gt;??? When you save the input configuration it should reset the connection and create log entries.  If there are no errors, then you should see something like:&lt;BR /&gt;
INFO:TailDatabaseMonitor - Database monitor - your input - finshed with status=true resultCount=xxx in duration=xxxxms&lt;BR /&gt;
and&lt;BR /&gt;
Scheduler - Execution of input= your db input finished in duration=xxx with resultCount=xxx success=true continuemonitoring=true.&lt;BR /&gt;
But that means it is working.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:41:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68014#M97003</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-09-19T14:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68015#M97004</link>
      <description>&lt;P&gt;You're welcome.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:56:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68015#M97004</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-09-19T14:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect not parsing timestamp properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68016#M97005</link>
      <description>&lt;P&gt;what is the column type in your database? have you tried adding a SQL cast or convert to your SQL statement?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 16:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-not-parsing-timestamp-properly/m-p/68016#M97005</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2013-09-19T16:27:09Z</dc:date>
    </item>
  </channel>
</rss>

