<?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 time difference in log entries and interpreted by splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/time-difference-in-log-entries-and-interpreted-by-splunk/m-p/77069#M15763</link>
    <description>&lt;P&gt;One example log entry is as follows:&lt;/P&gt;

&lt;P&gt;1/20/11
4:13:55.000 AM  &lt;/P&gt;

&lt;P&gt;2002-01-01T00:02:44 127.0.0.1 Tue Jan 1 00:02:43 2002 : Error: rlm_eap: SSL error ...&lt;/P&gt;

&lt;P&gt;"1/20/11 4:13:55.000 AM" is what splunk intreprets when plotting the event against timeline and displaying the event for review,  and 2002-01-01 is what actually recorded in the log (the time is because of time reset due to power outage)&lt;/P&gt;

&lt;P&gt;My question is how splunk gets the time and how to reconcile the difference? &lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2011 02:07:39 GMT</pubDate>
    <dc:creator>myli12</dc:creator>
    <dc:date>2011-04-08T02:07:39Z</dc:date>
    <item>
      <title>time difference in log entries and interpreted by splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/time-difference-in-log-entries-and-interpreted-by-splunk/m-p/77069#M15763</link>
      <description>&lt;P&gt;One example log entry is as follows:&lt;/P&gt;

&lt;P&gt;1/20/11
4:13:55.000 AM  &lt;/P&gt;

&lt;P&gt;2002-01-01T00:02:44 127.0.0.1 Tue Jan 1 00:02:43 2002 : Error: rlm_eap: SSL error ...&lt;/P&gt;

&lt;P&gt;"1/20/11 4:13:55.000 AM" is what splunk intreprets when plotting the event against timeline and displaying the event for review,  and 2002-01-01 is what actually recorded in the log (the time is because of time reset due to power outage)&lt;/P&gt;

&lt;P&gt;My question is how splunk gets the time and how to reconcile the difference? &lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 02:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/time-difference-in-log-entries-and-interpreted-by-splunk/m-p/77069#M15763</guid>
      <dc:creator>myli12</dc:creator>
      <dc:date>2011-04-08T02:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: time difference in log entries and interpreted by splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/time-difference-in-log-entries-and-interpreted-by-splunk/m-p/77070#M15764</link>
      <description>&lt;P&gt;I think because the time from the log file was too far in the past Splunk discards it and instead uses "index" time - that is the time the event was indexed.  I seem to recall reading this in the docs from previous version but can no longer find such a reference.  Here is a good article though that may help you understand things a bit better - &lt;A href="http://www.splunk.com/base/Documentation/4.2/Data/HowSplunkextractstimestamps" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.2/Data/HowSplunkextractstimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;[edit] - found the info here about timestamps in the past / future &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.2/Data/Configuretimestamprecognition" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.2/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;MAX_DAYS_AGO = &lt;/P&gt;

&lt;P&gt;Specifies the maximum number of days in the past, from the current date, that an extracted date can be valid.
For example, if MAX_DAYS_AGO = 10 then Splunk ignores dates older than 10 days from the current date.
Default is 2000.
Note: If you have data that is more than 2000 days old, increase this setting.
MAX_DAYS_HENCE = &lt;/P&gt;

&lt;P&gt;Specifies the maximum number of days in the future from the current date that an extracted date can be valid.
For example, if MAX_DAYS_HENCE = 3, dates that are more than 3 days in the future are ignored.
False positives are less likely with a tighter window.
If your servers have the wrong date set or are in a timezone that is one day ahead, set this value to at least 3.
Defaults to 2. This allows timestamp extractions that are up to a day in the future.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 02:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/time-difference-in-log-entries-and-interpreted-by-splunk/m-p/77070#M15764</guid>
      <dc:creator>netwrkr</dc:creator>
      <dc:date>2011-04-08T02:59:48Z</dc:date>
    </item>
  </channel>
</rss>

