<?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 Splunk taking wrong time from logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-taking-wrong-time-from-logs/m-p/370688#M165867</link>
    <description>&lt;P&gt;Splunk adds one hour to timestamp, when indexing logs.&lt;/P&gt;

&lt;P&gt;Logs:&lt;BR /&gt;
9/18/17 3:46:01.000 PM  --&amp;gt; time splunk shows&lt;BR /&gt;
[][hello][please][help][18/Sep/2017:14:46:01 -0500]  --&amp;gt; actual log&lt;/P&gt;

&lt;P&gt;I have added the below in my props.conf&lt;BR /&gt;
[host::xyz*]&lt;BR /&gt;
TZ = US/Eastern&lt;/P&gt;

&lt;P&gt;Also tried TZ = America/New_York ( GMT -5:00)&lt;/P&gt;

&lt;P&gt;Server shows this date -  Sat Sep 30 15:22:18 EDT 2017&lt;/P&gt;</description>
    <pubDate>Sat, 30 Sep 2017 19:23:00 GMT</pubDate>
    <dc:creator>ajaylowes</dc:creator>
    <dc:date>2017-09-30T19:23:00Z</dc:date>
    <item>
      <title>Splunk taking wrong time from logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-taking-wrong-time-from-logs/m-p/370688#M165867</link>
      <description>&lt;P&gt;Splunk adds one hour to timestamp, when indexing logs.&lt;/P&gt;

&lt;P&gt;Logs:&lt;BR /&gt;
9/18/17 3:46:01.000 PM  --&amp;gt; time splunk shows&lt;BR /&gt;
[][hello][please][help][18/Sep/2017:14:46:01 -0500]  --&amp;gt; actual log&lt;/P&gt;

&lt;P&gt;I have added the below in my props.conf&lt;BR /&gt;
[host::xyz*]&lt;BR /&gt;
TZ = US/Eastern&lt;/P&gt;

&lt;P&gt;Also tried TZ = America/New_York ( GMT -5:00)&lt;/P&gt;

&lt;P&gt;Server shows this date -  Sat Sep 30 15:22:18 EDT 2017&lt;/P&gt;</description>
      <pubDate>Sat, 30 Sep 2017 19:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-taking-wrong-time-from-logs/m-p/370688#M165867</guid>
      <dc:creator>ajaylowes</dc:creator>
      <dc:date>2017-09-30T19:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk taking wrong time from logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-taking-wrong-time-from-logs/m-p/370689#M165868</link>
      <description>&lt;P&gt;Assuming that your user is set to Eastern time, then the display of _time in Splunk is correct for what your log has printed:&lt;/P&gt;

&lt;P&gt;Your log explicitly states that it's "14:46 UTC-5" which is 15:46 (or 3:46p) in &lt;A href="https://en.wikipedia.org/wiki/Eastern_Time_Zone"&gt;US/Eastern&lt;/A&gt; right now (Remember... EDT is UTC-4).&lt;/P&gt;

&lt;P&gt;It could be your log is printing the wrong UTC offset, assuming that event you have there actually was at 14:46 EDT instead of 14:46 -0500 You may want to compare the delta of _time and _indextime to figure out if you have an issue there or not.&lt;/P&gt;

&lt;P&gt;The explicit time zone in the log takes precedence when determining time zone: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.0/Data/Applytimezoneoffsetstotimestamps"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.0/Data/Applytimezoneoffsetstotimestamps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Sep 2017 20:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-taking-wrong-time-from-logs/m-p/370689#M165868</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2017-09-30T20:21:49Z</dc:date>
    </item>
  </channel>
</rss>

