<?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: Why doesn't the time format match my log? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433842#M75808</link>
    <description>&lt;P&gt;That TIME_FORMAT does not match your log. Your log has &lt;CODE&gt;/&lt;/CODE&gt; as separator, while your TIME_FORMAT uses &lt;CODE&gt;-&lt;/CODE&gt;. Which will cause Splunk to revert to auto detection, which indeed can fail on ambiguous dates likes &lt;CODE&gt;01/06/2018&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:45:09 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2020-09-29T19:45:09Z</dc:date>
    <item>
      <title>Why doesn't the time format match my log?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433841#M75807</link>
      <description>&lt;P&gt;Hi splunkers &lt;/P&gt;

&lt;P&gt;I have following log entry in file getting indexed on sourcetype name "ncm"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"01/06/2018 12:00:47 : Started LoadBalancer" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is of  1st june 2018 but in splunk this entry has been taken as 6 january 2018 . Before this entry comes in the log two days ago i have already changed the time format in props.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ncm]
TIME_FORMAT = %d-%m-%Y %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So in that two days data arrived as per my time format but today 1st june data went to 6th january .&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 11:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433841#M75807</guid>
      <dc:creator>kannu</dc:creator>
      <dc:date>2018-06-01T11:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the time format match my log?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433842#M75808</link>
      <description>&lt;P&gt;That TIME_FORMAT does not match your log. Your log has &lt;CODE&gt;/&lt;/CODE&gt; as separator, while your TIME_FORMAT uses &lt;CODE&gt;-&lt;/CODE&gt;. Which will cause Splunk to revert to auto detection, which indeed can fail on ambiguous dates likes &lt;CODE&gt;01/06/2018&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:45:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433842#M75808</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2020-09-29T19:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the time format match my log?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433843#M75809</link>
      <description>&lt;P&gt;@FrankVl &lt;/P&gt;

&lt;P&gt;So below will work ?&lt;/P&gt;

&lt;P&gt;[ncm]&lt;BR /&gt;
TIME_FORMAT = %d/%m/%Y %H:%M:%S&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 12:34:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433843#M75809</guid>
      <dc:creator>kannu</dc:creator>
      <dc:date>2018-06-01T12:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the time format match my log?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433844#M75810</link>
      <description>&lt;P&gt;Yes, I would expect it would &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 12:36:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-doesn-t-the-time-format-match-my-log/m-p/433844#M75810</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-01T12:36:14Z</dc:date>
    </item>
  </channel>
</rss>

