<?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 Date Parsing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88197#M18299</link>
    <description>&lt;P&gt;Hello all,&lt;BR /&gt;
We have just encountered a problem with date parsing as we have progressed into the new month.&lt;/P&gt;

&lt;P&gt;Our log files output a date and time stamp in the following pattern:&lt;/P&gt;

&lt;P&gt;02-07-2012 @ 12:15:23.211&lt;/P&gt;

&lt;P&gt;This has been fine up until 1st July, wherein splunk is now parsing the above log line, as the 7th Feb, instead of 2nd of the 7th.&lt;/P&gt;

&lt;P&gt;I have created a entry in my props.conf file for this sourcetype, and defined the following:&lt;/P&gt;

&lt;P&gt;TIME_FORMAT = %d-%m-%Y @ %H:%M:%S.%3N&lt;/P&gt;

&lt;P&gt;But this has not resolved the issue, is there something wrong with my Time format, and why would this only just have started (as of 1st July)&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jul 2012 11:29:21 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2012-07-02T11:29:21Z</dc:date>
    <item>
      <title>Date Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88197#M18299</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;
We have just encountered a problem with date parsing as we have progressed into the new month.&lt;/P&gt;

&lt;P&gt;Our log files output a date and time stamp in the following pattern:&lt;/P&gt;

&lt;P&gt;02-07-2012 @ 12:15:23.211&lt;/P&gt;

&lt;P&gt;This has been fine up until 1st July, wherein splunk is now parsing the above log line, as the 7th Feb, instead of 2nd of the 7th.&lt;/P&gt;

&lt;P&gt;I have created a entry in my props.conf file for this sourcetype, and defined the following:&lt;/P&gt;

&lt;P&gt;TIME_FORMAT = %d-%m-%Y @ %H:%M:%S.%3N&lt;/P&gt;

&lt;P&gt;But this has not resolved the issue, is there something wrong with my Time format, and why would this only just have started (as of 1st July)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 11:29:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88197#M18299</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2012-07-02T11:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88198#M18300</link>
      <description>&lt;P&gt;You have the percent sign on the wrong side. The percent signs should go before the format, so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;%d-%m-%Y @ %H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Jul 2012 12:00:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88198#M18300</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-07-02T12:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88199#M18301</link>
      <description>&lt;P&gt;Ayn,&lt;/P&gt;

&lt;P&gt;Sorry - thats my mistake when typing the question.&lt;BR /&gt;
The config in use is as per your correction above, however the parsing is incorrect&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 12:20:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88199#M18301</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2012-07-02T12:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88200#M18302</link>
      <description>&lt;P&gt;In the end i solved this by changing the date format in my logs.&lt;/P&gt;

&lt;P&gt;Whilst this did not solve my initial problem, Ayn correctly pointed out that my syntax was wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2012 06:52:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Date-Parsing/m-p/88200#M18302</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2012-10-17T06:52:48Z</dc:date>
    </item>
  </channel>
</rss>

