<?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 changing the date column value automatically to wrong date in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164446#M98105</link>
    <description>&lt;P&gt;You can use a SQL function to convert the date to character format that Splunk will recognize. In Oracle this would be something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;select to_char(date_field,'YYYY-MM-DD HH24:MI:SS'), other_columns from your_table;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 30 Jul 2014 22:55:31 GMT</pubDate>
    <dc:creator>pmdba</dc:creator>
    <dc:date>2014-07-30T22:55:31Z</dc:date>
    <item>
      <title>DBConnect changing the date column value automatically to wrong date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164445#M98104</link>
      <description>&lt;P&gt;When I'm querying the data using DBQuery in DBConnect the data is being shown as below&lt;/P&gt;

&lt;PRE&gt;
776569  1406755920.000  abc xyz
&lt;/PRE&gt;

&lt;P&gt;While the actual data is as below&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
776569 2014-07-30 17:32:00 abc xyz&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;The date is being converted to epoch value automatically and also the epoch time is wrong..&lt;/P&gt;

&lt;P&gt;This is causing problem to my DBinputs &lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 19:08:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164445#M98104</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2014-07-30T19:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect changing the date column value automatically to wrong date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164446#M98105</link>
      <description>&lt;P&gt;You can use a SQL function to convert the date to character format that Splunk will recognize. In Oracle this would be something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;select to_char(date_field,'YYYY-MM-DD HH24:MI:SS'), other_columns from your_table;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jul 2014 22:55:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164446#M98105</guid>
      <dc:creator>pmdba</dc:creator>
      <dc:date>2014-07-30T22:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect changing the date column value automatically to wrong date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164447#M98106</link>
      <description>&lt;P&gt;Thanks man! It worked for me as well. Do you know why does it happen that the dates get these kind of values? What value is that?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:59:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164447#M98106</guid>
      <dc:creator>jvspradyumna</dc:creator>
      <dc:date>2016-06-14T19:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect changing the date column value automatically to wrong date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164448#M98107</link>
      <description>&lt;P&gt;will it be timezone issue?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 22:51:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164448#M98107</guid>
      <dc:creator>mchang_splunk</dc:creator>
      <dc:date>2016-06-14T22:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect changing the date column value automatically to wrong date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164449#M98108</link>
      <description>&lt;P&gt;I am skeptical about that as splunk can capture current time when you are indexing data. Not sure how to get rid of this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 22:56:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DBConnect-changing-the-date-column-value-automatically-to-wrong/m-p/164449#M98108</guid>
      <dc:creator>jvspradyumna</dc:creator>
      <dc:date>2016-06-16T22:56:51Z</dc:date>
    </item>
  </channel>
</rss>

