<?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: Splunk index event with incorrect timezone in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549500#M91282</link>
    <description>&lt;P&gt;Please consult the documentation &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.3/Search/Abouttimezones#:~:text=US%20Pacific%20Daylight%20Time%2C%20the%20timezone%20where%20Splunk%20Headquarters%20is%20located." target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and the linked information at the bottom of the page to understand how Splunk assigns timezones if the event timestamp in itself does not contain a TZ qualifier.&lt;/P&gt;&lt;P&gt;You would need to at least know what the source logs' timezone is to properly configure things...&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 17:37:47 GMT</pubDate>
    <dc:creator>s2_splunk</dc:creator>
    <dc:date>2021-04-27T17:37:47Z</dc:date>
    <item>
      <title>Splunk index event with incorrect timezone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549430#M91275</link>
      <description>&lt;P&gt;I have the following props configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;[log_files]
SHOULD_LINEMERGE = false
NO_BINARY_CHECK = true
TRUNCATE = 0
KV_MODE = true
pulldown_type = true
TRANSFORMS_FIELDS = data,time
TIME_FORMAT = %Y-%m-%d %H:%M:%S&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My log files contains IIS logs as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2020-01-22 12:00:37 ::1 GET /test - 80 ::1 Mozilla/5.0+(Windows+NT+6.1;+Win64; x64;+rv:47.0)+Gecko/20100101+Firefox/47.0 - 200 2 5 100&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Splunk indexing this file with incorrect time, I got event with time 15:00:07 instead 12:00:37 (and I see another field date_zone=-180), How can I make splunk index event with original the time from the logs file?&lt;/P&gt;&lt;P&gt;NOTE: I don't know the logs timezone .&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 09:28:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549430#M91275</guid>
      <dc:creator>mrteen2010</dc:creator>
      <dc:date>2021-04-27T09:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk index event with incorrect timezone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549500#M91282</link>
      <description>&lt;P&gt;Please consult the documentation &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.3/Search/Abouttimezones#:~:text=US%20Pacific%20Daylight%20Time%2C%20the%20timezone%20where%20Splunk%20Headquarters%20is%20located." target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and the linked information at the bottom of the page to understand how Splunk assigns timezones if the event timestamp in itself does not contain a TZ qualifier.&lt;/P&gt;&lt;P&gt;You would need to at least know what the source logs' timezone is to properly configure things...&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 17:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549500#M91282</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2021-04-27T17:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk index event with incorrect timezone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549570#M91290</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It isn't possible simply make splunk to take the original event time from log file without TZ converting??&lt;/P&gt;&lt;P&gt;Thanks for your answer!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 07:24:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549570#M91290</guid>
      <dc:creator>mrteen2010</dc:creator>
      <dc:date>2021-04-28T07:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk index event with incorrect timezone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549657#M91296</link>
      <description>&lt;P&gt;A timestamp in a global context isn't complete without a timezone reference. You can get away without specifying any timezones if you ensure all your systems are set to log in the same timezone (e.g. UTC), which is what a lot of organizations do.&lt;/P&gt;&lt;P&gt;In the absence of this, either timestamps need to have an embedded timezone offset, or you can explicitly set the timezone a timestamp was generated in when &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.3/Data/Applytimezoneoffsetstotimestamps" target="_self"&gt;configuring your sources&lt;/A&gt;.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Not having timestamps properly represented can cause issues with indexing (out of order events) and search (time-based correlation), so you want to make sure that every timestamp has a timezone context.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you may choose to simply &lt;A href="https://community.splunk.com/t5/Getting-Data-In/How-can-we-set-the-index-time-to-be-the-event-time/m-p/380149" target="_self"&gt;use the time an event was indexed&lt;/A&gt; as the event timestamp.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 15:45:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-index-event-with-incorrect-timezone/m-p/549657#M91296</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2021-04-28T15:45:34Z</dc:date>
    </item>
  </channel>
</rss>

