<?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: How configure Splunk to get the correct timestamp from SQL data files? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-configure-Splunk-to-get-the-correct-timestamp-from-SQL-data/m-p/115595#M24173</link>
    <description>&lt;P&gt;Thank you! It's worked! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2014 16:28:32 GMT</pubDate>
    <dc:creator>danielvalle</dc:creator>
    <dc:date>2014-09-09T16:28:32Z</dc:date>
    <item>
      <title>How configure Splunk to get the correct timestamp from SQL data files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-configure-Splunk-to-get-the-correct-timestamp-from-SQL-data/m-p/115593#M24171</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I am using Splunk to get data files from SQL queries. One of the fields in the document corresponds to the date.&lt;/P&gt;

&lt;P&gt;I can assign the format required:&lt;/P&gt;

&lt;P&gt;01/25/2014&lt;BR /&gt;
01/25/2014 &lt;BR /&gt;
2014/01/25 &lt;BR /&gt;
etc. .. &lt;/P&gt;

&lt;P&gt;Right now, I'm testing with a file with the following format:&lt;/P&gt;

&lt;TABLE&gt;&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH&gt;Timestamp&lt;/TH&gt;
&lt;TH&gt;CUENTA&lt;/TH&gt;
&lt;TH&gt;IP&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;11/22/00&lt;/TD&gt;
&lt;TD&gt;reportes&lt;/TD&gt;
&lt;TD&gt;192.168.60.10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;02/15/00&lt;/TD&gt;
&lt;TD&gt;admin&lt;/TD&gt;
&lt;TD&gt;192.168.1.24&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;01/27/00&lt;/TD&gt;
&lt;TD&gt;publico&lt;/TD&gt;
&lt;TD&gt;192.168.1.82&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;01/27/00&lt;/TD&gt;
&lt;TD&gt;publico&lt;/TD&gt;
&lt;TD&gt;192.168.1.82&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;01/27/00&lt;/TD&gt;
&lt;TD&gt;publico&lt;/TD&gt;
&lt;TD&gt;192.168.1.82&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;&lt;/TABLE&gt;

&lt;P&gt;but I can not get Splunk correctly recognize the timestamp field and when I preview the result before the load is as follows: &lt;/P&gt;

&lt;P&gt;Timestamp   Timestamp   CUENTA  IP&lt;BR /&gt;
1   9/9/01 1:48:19.000 PM   -----------+--------------+-----------------    N/A N/A&lt;BR /&gt;
2   9/9/01 1:48:19.000 PM   11/22/00    reportes    192.168.60.10&lt;BR /&gt;
3   9/9/01 1:48:19.000 PM   02/15/00    admin   192.168.1.24&lt;BR /&gt;
4   9/9/01 1:48:19.000 PM   01/27/00    publico 192.168.1.82&lt;BR /&gt;
5   9/9/01 1:48:19.000 PM   01/27/00    publico 192.168.1.82&lt;BR /&gt;
6   9/9/01 1:48:19.000 PM   01/27/00    publico 192.168.1.82&lt;BR /&gt;
7   9/9/01 1:48:19.000 PM   01/27/00    admin   192.168.1.82&lt;BR /&gt;
8   9/9/01 1:48:19.000 PM   01/27/00    admin   192.168.1.82&lt;BR /&gt;
9   9/9/01 1:48:19.000 PM   01/27/00    cat 192.168.1.82&lt;BR /&gt;
10  9/9/01 1:48:19.000 PM   01/27/00    admin   192.168.1.82&lt;BR /&gt;
11  9/9/01 1:48:19.000 PM   02/09/00    admin   127.0.0.1&lt;/P&gt;

&lt;P&gt;Do I have to configure the data file in some special way? Should I somehow configure Splunk to recognize the value of the timestamp field? &lt;/P&gt;

&lt;P&gt;Thank you very much for your help,&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2014 16:26:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-configure-Splunk-to-get-the-correct-timestamp-from-SQL-data/m-p/115593#M24171</guid>
      <dc:creator>danielvalle</dc:creator>
      <dc:date>2014-09-08T16:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: How configure Splunk to get the correct timestamp from SQL data files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-configure-Splunk-to-get-the-correct-timestamp-from-SQL-data/m-p/115594#M24172</link>
      <description>&lt;P&gt;use this in props.conf&lt;BR /&gt;
MAX_DAYS_AGO=10951&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%m/%d/%y&lt;BR /&gt;
TIME_PREFIX=^&lt;/P&gt;

&lt;P&gt;or write in advanced mode(props.conf) in text (web) when you are doing preview&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-configure-Splunk-to-get-the-correct-timestamp-from-SQL-data/m-p/115594#M24172</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2020-09-28T17:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: How configure Splunk to get the correct timestamp from SQL data files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-configure-Splunk-to-get-the-correct-timestamp-from-SQL-data/m-p/115595#M24173</link>
      <description>&lt;P&gt;Thank you! It's worked! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2014 16:28:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-configure-Splunk-to-get-the-correct-timestamp-from-SQL-data/m-p/115595#M24173</guid>
      <dc:creator>danielvalle</dc:creator>
      <dc:date>2014-09-09T16:28:32Z</dc:date>
    </item>
  </channel>
</rss>

