<?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 Can you help me change the timezone offset for events that appear to be from the same host? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-change-the-timezone-offset-for-events-that/m-p/399268#M71139</link>
    <description>&lt;P&gt;How do I change the timezone offset for events that appear to be from the same host (but the real host and timezone is contained in the event)?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;RAW EVENTS:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Event 1:&lt;BR /&gt;
host=HOSTA&lt;BR /&gt;
real_event_host=HOSTX&lt;BR /&gt;
real_event_time=2018-09-25T06:39:03:142-06:00&lt;/P&gt;

&lt;P&gt;Event 2:&lt;BR /&gt;
host=HOSTA&lt;BR /&gt;
real_event_host=HOSTY&lt;BR /&gt;
real_event_time=2018-09-25T08:40:03:142-04:00&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Here is how the above events get loaded:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Event 1:&lt;BR /&gt;
_time=25/09/2018 06:39:03.000 &lt;STRONG&gt;(What I want is for this to now switch to the timezone of the indexer -400 i.e. 25/09/2018 08:39:03.142)&lt;/STRONG&gt;&lt;BR /&gt;
host=HOSTA&lt;BR /&gt;
real_event_host=HOSTX&lt;BR /&gt;
real_event_time=2018-09-25T06:39:03:142-06:00&lt;/P&gt;

&lt;P&gt;Event 2:&lt;BR /&gt;
_time=25/09/2018 08:40:03.321 &lt;STRONG&gt;(For this one the timezone is the same so the times should be the same)&lt;/STRONG&gt;&lt;BR /&gt;
host=HOSTA&lt;BR /&gt;
real_event_host=HOSTY&lt;BR /&gt;
real_event_time=2018-09-25T08:40:03:321-04:00&lt;/P&gt;

&lt;P&gt;**How do I either use the real_event_time as the _time and convert it to the indexer's timezone OR at the very least make the _time reflect the timezone of the event?&lt;/P&gt;

&lt;P&gt;HOSTX is in -600 timezone offset&lt;BR /&gt;
HOSTY is in -400 timezone offset&lt;BR /&gt;
Both events appear to come from HOSTA  which is in -400 timezone offset because HOSTA is a log aggregator**&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:26:02 GMT</pubDate>
    <dc:creator>shariefc</dc:creator>
    <dc:date>2020-09-29T21:26:02Z</dc:date>
    <item>
      <title>Can you help me change the timezone offset for events that appear to be from the same host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-change-the-timezone-offset-for-events-that/m-p/399268#M71139</link>
      <description>&lt;P&gt;How do I change the timezone offset for events that appear to be from the same host (but the real host and timezone is contained in the event)?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;RAW EVENTS:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Event 1:&lt;BR /&gt;
host=HOSTA&lt;BR /&gt;
real_event_host=HOSTX&lt;BR /&gt;
real_event_time=2018-09-25T06:39:03:142-06:00&lt;/P&gt;

&lt;P&gt;Event 2:&lt;BR /&gt;
host=HOSTA&lt;BR /&gt;
real_event_host=HOSTY&lt;BR /&gt;
real_event_time=2018-09-25T08:40:03:142-04:00&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Here is how the above events get loaded:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Event 1:&lt;BR /&gt;
_time=25/09/2018 06:39:03.000 &lt;STRONG&gt;(What I want is for this to now switch to the timezone of the indexer -400 i.e. 25/09/2018 08:39:03.142)&lt;/STRONG&gt;&lt;BR /&gt;
host=HOSTA&lt;BR /&gt;
real_event_host=HOSTX&lt;BR /&gt;
real_event_time=2018-09-25T06:39:03:142-06:00&lt;/P&gt;

&lt;P&gt;Event 2:&lt;BR /&gt;
_time=25/09/2018 08:40:03.321 &lt;STRONG&gt;(For this one the timezone is the same so the times should be the same)&lt;/STRONG&gt;&lt;BR /&gt;
host=HOSTA&lt;BR /&gt;
real_event_host=HOSTY&lt;BR /&gt;
real_event_time=2018-09-25T08:40:03:321-04:00&lt;/P&gt;

&lt;P&gt;**How do I either use the real_event_time as the _time and convert it to the indexer's timezone OR at the very least make the _time reflect the timezone of the event?&lt;/P&gt;

&lt;P&gt;HOSTX is in -600 timezone offset&lt;BR /&gt;
HOSTY is in -400 timezone offset&lt;BR /&gt;
Both events appear to come from HOSTA  which is in -400 timezone offset because HOSTA is a log aggregator**&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-change-the-timezone-offset-for-events-that/m-p/399268#M71139</guid>
      <dc:creator>shariefc</dc:creator>
      <dc:date>2020-09-29T21:26:02Z</dc:date>
    </item>
  </channel>
</rss>

