<?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 zone config not working as expected in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Time-zone-config-not-working-as-expected/m-p/649316#M110372</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to configure an ingestion of logs that are in UTC time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are in Geneva and timezone is Europe/Zurich (=UTC+2), so, logs are displayed with the wrong date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, log ingested at 14:52 today is displayed in Splunk like this :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2023-07-05 12:52:40 ..&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These logs are coming from a simple UF (Windows, UF version is 8.2.4). My Splunk environment is Linux (RedHat 8 / Splunk version is 9.0.4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As documented, I tried to add in a props.conf something like this :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::D:\path\to\file.log]
TZ = Europe/Zurich&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First I added it in the UF configuration. No effect.&lt;BR /&gt;Then I tried to put it on indexers. No effect.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I also tried to use the sourcetype name ([my_sourcetype] ) instead of the source path or replace the Europe\Zurich value with "TZ = UTC+2"...&amp;nbsp;it didn't work any better.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Help would be appreciated !&lt;BR /&gt;Thanks&lt;BR /&gt;David&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2023 14:01:39 GMT</pubDate>
    <dc:creator>DavidCaputo</dc:creator>
    <dc:date>2023-07-05T14:01:39Z</dc:date>
    <item>
      <title>Time zone config not working as expected</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-zone-config-not-working-as-expected/m-p/649316#M110372</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to configure an ingestion of logs that are in UTC time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are in Geneva and timezone is Europe/Zurich (=UTC+2), so, logs are displayed with the wrong date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, log ingested at 14:52 today is displayed in Splunk like this :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2023-07-05 12:52:40 ..&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These logs are coming from a simple UF (Windows, UF version is 8.2.4). My Splunk environment is Linux (RedHat 8 / Splunk version is 9.0.4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As documented, I tried to add in a props.conf something like this :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::D:\path\to\file.log]
TZ = Europe/Zurich&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First I added it in the UF configuration. No effect.&lt;BR /&gt;Then I tried to put it on indexers. No effect.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I also tried to use the sourcetype name ([my_sourcetype] ) instead of the source path or replace the Europe\Zurich value with "TZ = UTC+2"...&amp;nbsp;it didn't work any better.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Help would be appreciated !&lt;BR /&gt;Thanks&lt;BR /&gt;David&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 14:01:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-zone-config-not-working-as-expected/m-p/649316#M110372</guid>
      <dc:creator>DavidCaputo</dc:creator>
      <dc:date>2023-07-05T14:01:39Z</dc:date>
    </item>
  </channel>
</rss>

