<?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: configuring TIME_FORMAT in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27428#M4620</link>
    <description>&lt;P&gt;MAX_TIMESTAMP_LOOKAHEAD=20&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%y-%m-%d %H:%M:%S&lt;BR /&gt;
TIME_PREFIX=^&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:12:30 GMT</pubDate>
    <dc:creator>dmaislin_splunk</dc:creator>
    <dc:date>2020-09-28T12:12:30Z</dc:date>
    <item>
      <title>configuring TIME_FORMAT</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27426#M4618</link>
      <description>&lt;P&gt;Hello, our logs have ISO 8601 date format with shorted year (YY instead of YYYY): "12-08-06 04:42:10". It is 6 of August 2012 but Splunk think it is 12 of August 2006. &lt;/P&gt;

&lt;P&gt;I've added to props.conf:&lt;BR /&gt;
TIME_FORMAT = %y-%m-%d %H:%M:%S&lt;BR /&gt;
but this didn't change anything.&lt;/P&gt;

&lt;P&gt;the full config:&lt;BR /&gt;
&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
    [source::/var/log/access*]&lt;BR /&gt;
    #12-08-03 19:48:40 "user1|g" 1.2.3.4 "CONNECT &lt;A href="http://www.example.com:443" target="_blank"&gt;www.example.com:443&lt;/A&gt;" &lt;BR /&gt;
    EXTRACT-access = ^(?P&amp;lt;datestamp&amp;gt;[^ ]+) (?P&amp;lt;timestamp&amp;gt;[^ ]+) "(?P&amp;lt;auth_user&amp;gt;[^|]&lt;EM&gt;)|(?P&amp;lt;profile&amp;gt;[^"]&lt;/EM&gt;)" (?P&amp;lt;src_ip&amp;gt;[^ ]+) "(?P&amp;lt;method&amp;gt;[A-Z]+) (?P&amp;lt;url&amp;gt;[^"]+)"&lt;BR /&gt;
    TIME_FORMAT = %y-%m-%d %H:%M:%S&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;
any idea how to configure?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:12:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27426#M4618</guid>
      <dc:creator>kerne1</dc:creator>
      <dc:date>2020-09-28T12:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: configuring TIME_FORMAT</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27427#M4619</link>
      <description>&lt;P&gt;sorry for misleading, the html tags come from Markdown and doesn't belong to the config.&lt;/P&gt;

&lt;P&gt;this ist the log line:&lt;BR /&gt;
12-08-03 19:48:40 "user1|g" 1.2.3.4 "CONNECT &lt;A href="http://www.example.com:443"&gt;www.example.com:443&lt;/A&gt;"&lt;BR /&gt;
this is the props.conf (I've removed the EXTRACT expression for clarity):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/var/log/access*]
TIME_FORMAT = %y-%m-%d %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27427#M4619</guid>
      <dc:creator>kerne1</dc:creator>
      <dc:date>2012-08-07T13:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: configuring TIME_FORMAT</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27428#M4620</link>
      <description>&lt;P&gt;MAX_TIMESTAMP_LOOKAHEAD=20&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%y-%m-%d %H:%M:%S&lt;BR /&gt;
TIME_PREFIX=^&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27428#M4620</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2020-09-28T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: configuring TIME_FORMAT</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27429#M4621</link>
      <description>&lt;P&gt;hello, can we push this from Deployment Monitor ???&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 08:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27429#M4621</guid>
      <dc:creator>blebit</dc:creator>
      <dc:date>2014-01-24T08:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: configuring TIME_FORMAT</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27430#M4622</link>
      <description>&lt;P&gt;Your logs are not using ISO 8601.  It specifies four-digit years.  There is no provision in it for a two-digit year.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 21:55:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27430#M4622</guid>
      <dc:creator>pmocek</dc:creator>
      <dc:date>2014-04-02T21:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: configuring TIME_FORMAT</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27431#M4623</link>
      <description>&lt;P&gt;I downvoted this post because op stated the exception, and the comment does nothing to answer the question.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 14:55:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configuring-TIME-FORMAT/m-p/27431#M4623</guid>
      <dc:creator>hetzere</dc:creator>
      <dc:date>2016-05-10T14:55:14Z</dc:date>
    </item>
  </channel>
</rss>

