<?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: How do you adjust time with syslog-ng or universal forwarder for devices in different time zones? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407711#M72309</link>
    <description>&lt;P&gt;You can specify the timezone to be used in props.conf on the universal forwarder. This can be done for a particular sourcetype, host or source (wildcard supported for host/source). See this for more information.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.3/Data/Applytimezoneoffsetstotimestamps#Specify_time_zones_in_props.conf"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.3/Data/Applytimezoneoffsetstotimestamps#Specify_time_zones_in_props.conf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Oct 2018 19:30:50 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-10-03T19:30:50Z</dc:date>
    <item>
      <title>How do you adjust time with syslog-ng or universal forwarder for devices in different time zones?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407710#M72308</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We are centralizing and collecting logs from various devices via syslog-ng, and sending them to indexers via universal forwarder on the same box.  The issue I am running into is that some devices in Asia and other places are on local time zones, so logs are stored in future time. &lt;/P&gt;

&lt;P&gt;What's a good way to deal with this without changing the local time zone.  Perhaps store log time in another field and convert _time to EST?  Just curious if anyone found a good way to deal with this.   Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 18:46:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407710#M72308</guid>
      <dc:creator>oleg106</dc:creator>
      <dc:date>2018-10-03T18:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do you adjust time with syslog-ng or universal forwarder for devices in different time zones?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407711#M72309</link>
      <description>&lt;P&gt;You can specify the timezone to be used in props.conf on the universal forwarder. This can be done for a particular sourcetype, host or source (wildcard supported for host/source). See this for more information.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.3/Data/Applytimezoneoffsetstotimestamps#Specify_time_zones_in_props.conf"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.3/Data/Applytimezoneoffsetstotimestamps#Specify_time_zones_in_props.conf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 19:30:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407711#M72309</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-10-03T19:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you adjust time with syslog-ng or universal forwarder for devices in different time zones?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407712#M72310</link>
      <description>&lt;P&gt;Several options really:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Get your source devices to log in a standard zone (but you already ruled out that option, which is indeed often a difficult thing to achieve).&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Get your source devices to report their time zone as part of the event. Really depends on whether or not your source device supports that.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;As @somesoni2 mentioned: configure per source type / source / host time zone through props.conf. But with many hosts this can become very hard to manage (depending also on how dynamic the set of source devices is).&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Use regional syslog servers, such that the syslog server (and UF) are in same zone as the source device. But I know from experience that even with regional collection points you may still have to deal with exceptions.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Get your syslog daemon to overwrite the original time stamp with a time stamp of when the event was received on the syslog server. Bit of a last resort option as it obviously reduces the accuracy of the time stamp. But it may be a better solution than having to deal with many timezone exceptions.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Configure Splunk to use the file modify time or the index time to populate _time, rather than the time stamp from the event. Same drawbacks as 5.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 03 Oct 2018 20:19:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407712#M72310</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-10-03T20:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you adjust time with syslog-ng or universal forwarder for devices in different time zones?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407713#M72311</link>
      <description>&lt;P&gt;Unfortunately, this will not work because the Universal Forwarder will ignore props.conf.  Per the link you shared:&lt;/P&gt;

&lt;P&gt;"If you have Splunk Enterprise and need to modify timestamp extraction, perform the configuration on your indexer machines or, if forwarding data, use &lt;STRONG&gt;heavy forwarders&lt;/STRONG&gt; and perform the configuration on the machines where the heavy forwarders run. If you have Splunk Cloud and need to modify timestamp extraction, use &lt;STRONG&gt;heavy forwarder&lt;/STRONG&gt; and perform the configuration on the machines where the heavy forwarders run."&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 20:01:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-adjust-time-with-syslog-ng-or-universal-forwarder-for/m-p/407713#M72311</guid>
      <dc:creator>TonyLeeVT</dc:creator>
      <dc:date>2018-10-15T20:01:53Z</dc:date>
    </item>
  </channel>
</rss>

