<?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: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128421#M184429</link>
    <description>&lt;P&gt;update - I played around the query and made some progress but now have a new error&lt;/P&gt;

&lt;P&gt;updated query for mysql&lt;/P&gt;

&lt;P&gt;SELECT &lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt;,&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;fct_value&lt;/CODE&gt;,&lt;BR /&gt;
  date_format(&lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;fct_ts&lt;/CODE&gt;, '%Y-%m-%d %h:%i:%s') AS fct_ts,&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;device_key&lt;/CODE&gt;&lt;BR /&gt;
FROM&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;&lt;BR /&gt;
WHERE&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658608 OR &lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698395 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658632 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698453 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658572 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698478 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658591 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698381 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658692 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698392 {{AND $rising_column$ &amp;gt; ?}}&lt;/P&gt;

&lt;P&gt;error message&lt;/P&gt;

&lt;P&gt;2015-02-06 14:52:51.545 dbx937:INFO:TailDatabaseMonitor - Applying latest tail.rising.column value=2015-01-28 16:05:00.0&lt;BR /&gt;
2015-02-06 14:52:54.798 dbx937:WARN:ResultSetOutputPayload - Unrecognized timestamp format: '2014-12-29 12:00:00'&lt;/P&gt;

&lt;P&gt;I have the timestamp formatted in two places. Which is which? Why would the year be off? I can run this query from the command line and I get the right results.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:51:03 GMT</pubDate>
    <dc:creator>ebailey</dc:creator>
    <dc:date>2020-09-28T18:51:03Z</dc:date>
    <item>
      <title>Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128416#M184424</link>
      <description>&lt;P&gt;I am trying to pull a large amount of data from a data warehouse into Splunk. I have a database input setup with a query but no data is being captured by the tailing input.&lt;/P&gt;

&lt;P&gt;I see the following in the dbx.log&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2015-02-05 10:49:13.719 dbx663:INFO:TailDatabaseMonitor - Executing database monitor=[dbmon-tail://zenoss_reporting/raw_v2_in__pct]
2015-02-05 10:49:13.725 dbx663:INFO:TailDatabaseMonitor - Applying latest tail.rising.column value=2015-01-28 16:05:00.0
2015-02-05 10:49:18.767 dbx663:INFO:TailDatabaseMonitor - Database monitor=[dbmon-tail://reporting/raw_v2_in__pct] finished with status=true resultCount=0 in duration=5048 ms
2015-02-05 10:49:18.767 dbx663:INFO:ExecutionContext - Execution finished in duration=5048 ms
2015-02-05 10:49:18.767 monsch1:INFO:Scheduler - Execution of input=[dbmon-tail://reporting/raw_v2_in__pct] finished in duration=5048 ms with resultCount=0 success=true continueMonitoring=true
2015-02-05 10:49:35.720 dbx4712:INFO:TailDatabaseMonitor - Executing database monitor=[dbmon-tail://reporting/raw_v2_in__pct]
2015-02-05 10:49:35.726 dbx4712:INFO:TailDatabaseMonitor - Applying latest tail.rising.column value=2015-01-28 16:05:00.0
2015-02-05 10:49:40.295 dbx4712:INFO:TailDatabaseMonitor - Database monitor=[dbmon-tail://reporting/raw_v2_in__pct] finished with status=true resultCount=0 in duration=4574 ms
2015-02-05 10:49:40.295 dbx4712:INFO:ExecutionContext - Execution finished in duration=4575 ms
2015-02-05 10:49:40.296 monsch1:INFO:Scheduler - Execution of input=[dbmon-tail://reporting/raw_v2_in__pct] finished in duration=4574 ms with resultCount=0 success=true continueMonitoring=true
2015-02-05 10:49:40.557 dbx8545:INFO:Splunkd - Splunkd REST Keep-alive successful for user splunk-system-user
2015-02-05 10:49:40.557 dbx8545:INFO:ExecutionContext - Execution finished in duration=8 ms
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My query:&lt;/P&gt;

&lt;P&gt;SELECT &lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt;,&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;fct_value&lt;/CODE&gt;,&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;fct_ts&lt;/CODE&gt;,&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;device_key&lt;/CODE&gt;&lt;BR /&gt;
FROM&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;&lt;BR /&gt;
{{ WHERE $rising_column$ &amp;gt; ?}} &lt;/P&gt;

&lt;P&gt;The rising column is fct_ts&lt;/P&gt;

&lt;P&gt;The times tamp column is fct_ts as well&lt;/P&gt;

&lt;P&gt;I left time stamp format field blank. The data is coming across when I run a query in Db Connect as time since the epoch so I am not sure how to handle that as a format.&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 16:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128416#M184424</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2015-02-05T16:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128417#M184425</link>
      <description>&lt;P&gt;Time since epoch (without a decimal) would be configured as: TIME_FORMAT = %s&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 17:49:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128417#M184425</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-02-05T17:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128418#M184426</link>
      <description>&lt;P&gt;Please post your inputs.conf from the dbx folder, along with a sample value for your rising column if you are still having trouble.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 17:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128418#M184426</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-02-05T17:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128419#M184427</link>
      <description>&lt;P&gt;input&lt;/P&gt;

&lt;P&gt;[dbmon-tail://reporting/raw_v2_in_&lt;EM&gt;pct]&lt;BR /&gt;
host = dw&lt;BR /&gt;
index = dw&lt;BR /&gt;
output.format = kv&lt;BR /&gt;
output.timestamp = 0&lt;BR /&gt;
output.timestamp.column = fct_ts&lt;BR /&gt;
query = SELECT \r\n  `raw_v2_in&lt;/EM&gt;&lt;EM&gt;pct&lt;CODE&gt;.&lt;/CODE&gt;component_key&lt;CODE&gt;,\r\n&lt;/CODE&gt;raw_v2_in&lt;/EM&gt;&lt;EM&gt;pct&lt;CODE&gt;.&lt;/CODE&gt;fct_value&lt;CODE&gt;,\r\n&lt;/CODE&gt;raw_v2_in&lt;/EM&gt;&lt;EM&gt;pct&lt;CODE&gt;.&lt;/CODE&gt;fct_ts&lt;CODE&gt;,\r\n&lt;/CODE&gt;raw_v2_in&lt;/EM&gt;&lt;EM&gt;pct&lt;CODE&gt;.&lt;/CODE&gt;device_key&lt;CODE&gt;\r\nFROM\r\&lt;BR /&gt;
n&lt;/CODE&gt;raw_v2_in&lt;/EM&gt;&lt;EM&gt;pct`\r\n  {{WHERE $rising_column$ &amp;gt; ?}}&lt;BR /&gt;
sourcetype = dw&lt;BR /&gt;
tail.rising.column = fct_ts&lt;BR /&gt;
interval = auto&lt;BR /&gt;
output.timestamp.format = %s&lt;BR /&gt;
table = raw_v2_in&lt;/EM&gt;_pct&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:50:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128419#M184427</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2020-09-28T18:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128420#M184428</link>
      <description>&lt;P&gt;data sample&lt;/P&gt;

&lt;P&gt;| component_key | fct_value       | fct_ts              | device_key |&lt;BR /&gt;
+---------------+-----------------+---------------------+------------+&lt;BR /&gt;
|        658608 |  0.194550544228 | 2014-12-29 00:00:00 |     658569 |&lt;/P&gt;

&lt;P&gt;The mysql client converts the time to a standard time stamp but the data shows up as epoch in the db connect query tool.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:50:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128420#M184428</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2020-09-28T18:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128421#M184429</link>
      <description>&lt;P&gt;update - I played around the query and made some progress but now have a new error&lt;/P&gt;

&lt;P&gt;updated query for mysql&lt;/P&gt;

&lt;P&gt;SELECT &lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt;,&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;fct_value&lt;/CODE&gt;,&lt;BR /&gt;
  date_format(&lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;fct_ts&lt;/CODE&gt;, '%Y-%m-%d %h:%i:%s') AS fct_ts,&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;device_key&lt;/CODE&gt;&lt;BR /&gt;
FROM&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;&lt;BR /&gt;
WHERE&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658608 OR &lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698395 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658632 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698453 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658572 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698478 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658591 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698381 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 658692 OR&lt;BR /&gt;
  &lt;CODE&gt;raw_v2_in__pct&lt;/CODE&gt;.&lt;CODE&gt;component_key&lt;/CODE&gt; = 698392 {{AND $rising_column$ &amp;gt; ?}}&lt;/P&gt;

&lt;P&gt;error message&lt;/P&gt;

&lt;P&gt;2015-02-06 14:52:51.545 dbx937:INFO:TailDatabaseMonitor - Applying latest tail.rising.column value=2015-01-28 16:05:00.0&lt;BR /&gt;
2015-02-06 14:52:54.798 dbx937:WARN:ResultSetOutputPayload - Unrecognized timestamp format: '2014-12-29 12:00:00'&lt;/P&gt;

&lt;P&gt;I have the timestamp formatted in two places. Which is which? Why would the year be off? I can run this query from the command line and I get the right results.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:51:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128421#M184429</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2020-09-28T18:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128422#M184430</link>
      <description>&lt;P&gt;timestamp format&lt;/P&gt;

&lt;P&gt;yyyy-MM-dd HH:mm:ss&lt;/P&gt;

&lt;P&gt;from reading the docs and splunk answers I cant get a clear understanding of the proper format so this is a guess&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 21:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128422#M184430</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2015-02-06T21:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128423#M184431</link>
      <description>&lt;P&gt;Ed,&lt;/P&gt;

&lt;P&gt;Have you tried this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;output.timestamp = 1
output.timestamp.format = %Y-%m-%d %h:%i:%s
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And if the timestamp isn't being recognized properly, have you read this?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.splunk.com/2014/04/23/its-that-time-again/"&gt;http://blogs.splunk.com/2014/04/23/its-that-time-again/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:01:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128423#M184431</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2015-02-11T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128424#M184432</link>
      <description>&lt;P&gt;giving this is a shot - I had the same time stamp format but "output.timestamp" was not in the input config&lt;/P&gt;

&lt;P&gt;Thanks David&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:46:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128424#M184432</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2015-02-11T13:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128425#M184433</link>
      <description>&lt;P&gt;The app was not pleased with the timestamp format and returned an xml parsing error. I had better luck with&lt;/P&gt;

&lt;P&gt;output.timestamp.format = yyyy-MM-dd HH:mm:ss&lt;BR /&gt;
 output.timestamp.parse.format = yyyy-MM-dd HH:mm:ss&lt;/P&gt;

&lt;P&gt;and I adjusted the query to use '%Y-%m-%d %h:%m:%s as the desired data timestamp.&lt;/P&gt;

&lt;P&gt;Now I see data flowing but also a few thousand of these error messages&lt;/P&gt;

&lt;P&gt;Unrecognized timestamp format: '2014-12-30 06:12:00'&lt;BR /&gt;
2015-02-11 13:36:30.265 dbx8902:WARN:ResultSetOutputPayload - Unrecognized timestamp format: '2014-12-30 06:12:00'&lt;BR /&gt;
2015-02-11 13:36:30.265 dbx8902:WARN:ResultSetOutputPayload - Unrecognized timestamp format: '2014-12-30 06:12:00'&lt;/P&gt;

&lt;P&gt;I am checking data quality now.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 19:40:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128425#M184433</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2015-02-11T19:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: I have a database input with a query, but why is no data being captured by the tailing input?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128426#M184434</link>
      <description>&lt;P&gt;hi ed!&lt;BR /&gt;
your comment helped me a lot!! thank u very much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; i was facing this problem for days...&lt;BR /&gt;
instead of to_date in the sql-query, i work with FROM_UNIXTIME. this works better for me. i now get the right timestamps in splunk.&lt;BR /&gt;
but... i also get an amount of unnecessary messages:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dbx2417:WARN:ResultSetOutputPayload - NULL Timestamp value in column=ColumnInfo{idx=1, sqlType=93, columnName='sn_creationdate'}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;thx,&lt;/P&gt;

&lt;P&gt;chris&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:06:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-I-have-a-database-input-with-a-query-but-why/m-p/128426#M184434</guid>
      <dc:creator>ChrisGermer</dc:creator>
      <dc:date>2020-09-28T19:06:23Z</dc:date>
    </item>
  </channel>
</rss>

