<?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 Format Oddly Changes in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70625#M17689</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;I have been using Splunk for a couple of Months now, last month i noticed that the date format was being interpretted differently at the start of the month, i changed some setting and re-indexed and all seemed well. However, the same has happened at the beginning of this month with my data being interpretted in M/D/Y instead of D/M/Y. Again, i re-indexed without changing anything and date was formatted correctly, but new data added is again wrong.&lt;/P&gt;

&lt;P&gt;It seems like the initial Bulk index of data is fine and then subsequent "live" indexing gets it wrong when the first day is beneath 12. I am using v4.2.2 and just monitoring a standard text file log like below:&lt;/P&gt;

&lt;H2&gt;Date     Time    Ext CO        Dial Number        Ring Duration  Acc code  CD &lt;/H2&gt;

&lt;P&gt;24/07/11 21:44     226 03 00447000000000                 00:00'05&lt;BR /&gt;&lt;BR /&gt;
25/07/11 07:12     226 04 00447800000000                 00:00'05&lt;BR /&gt;&lt;BR /&gt;
25/07/11 08:28     108 04 00447800000063                 00:00'06            &lt;/P&gt;

&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;

&lt;P&gt;Best Regards&lt;/P&gt;

&lt;P&gt;Chris   &lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2011 07:58:34 GMT</pubDate>
    <dc:creator>talismanc</dc:creator>
    <dc:date>2011-09-06T07:58:34Z</dc:date>
    <item>
      <title>Date Format Oddly Changes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70625#M17689</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;I have been using Splunk for a couple of Months now, last month i noticed that the date format was being interpretted differently at the start of the month, i changed some setting and re-indexed and all seemed well. However, the same has happened at the beginning of this month with my data being interpretted in M/D/Y instead of D/M/Y. Again, i re-indexed without changing anything and date was formatted correctly, but new data added is again wrong.&lt;/P&gt;

&lt;P&gt;It seems like the initial Bulk index of data is fine and then subsequent "live" indexing gets it wrong when the first day is beneath 12. I am using v4.2.2 and just monitoring a standard text file log like below:&lt;/P&gt;

&lt;H2&gt;Date     Time    Ext CO        Dial Number        Ring Duration  Acc code  CD &lt;/H2&gt;

&lt;P&gt;24/07/11 21:44     226 03 00447000000000                 00:00'05&lt;BR /&gt;&lt;BR /&gt;
25/07/11 07:12     226 04 00447800000000                 00:00'05&lt;BR /&gt;&lt;BR /&gt;
25/07/11 08:28     108 04 00447800000063                 00:00'06            &lt;/P&gt;

&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;

&lt;P&gt;Best Regards&lt;/P&gt;

&lt;P&gt;Chris   &lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70625#M17689</guid>
      <dc:creator>talismanc</dc:creator>
      <dc:date>2011-09-06T07:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format Oddly Changes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70626#M17690</link>
      <description>&lt;P&gt;So i presume you changed some settings according the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition"&gt;manual&lt;/A&gt;?&lt;BR /&gt;
Can you post your config here?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 08:11:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70626#M17690</guid>
      <dc:creator>Starlette</dc:creator>
      <dc:date>2011-09-06T08:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format Oddly Changes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70627#M17691</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Thanks for the reply, yes, this was added into a local props.conf file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::C:\\CallLoggerOutput.txt]
MAX_TIMESTAMP_LOOKAHEAD = 25
TIME_FORMAT = %d/%m/%Y %H:%M
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This was last month and im pretty sure this was the only think i changed. The thing is, i dont think it actually changed anything, as i re-indexed the data and all looked fine. Was only when i noticed some odd time stamps this month i realised it hadnt quite worked!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2011 07:13:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70627#M17691</guid>
      <dc:creator>talismanc</dc:creator>
      <dc:date>2011-09-07T07:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format Oddly Changes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70628#M17692</link>
      <description>&lt;P&gt;Hmmm, i think i may have solved it by adding the TIME_FORMAT configuration to the default section of the prop.conf file. Seems to be working now. Should have put it there anyway!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2011 14:07:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70628#M17692</guid>
      <dc:creator>talismanc</dc:creator>
      <dc:date>2011-09-07T14:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format Oddly Changes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70629#M17693</link>
      <description>&lt;P&gt;okay, then you should accept this answer so that other people will know what to do.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 04:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-Oddly-Changes/m-p/70629#M17693</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-02-24T04:13:25Z</dc:date>
    </item>
  </channel>
</rss>

