<?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: Using props.conf on SplunkUniversalForwarder to denote TimeZone in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404254#M71786</link>
    <description>&lt;P&gt;The props.conf file should go on the indexers rather than the universal forwarders.  If the sourcetype has forwarders in different time zones, then use a heavy forwarder and put the props.conf file there.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 17:04:19 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-02-21T17:04:19Z</dc:date>
    <item>
      <title>Using props.conf on SplunkUniversalForwarder to denote TimeZone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404253#M71785</link>
      <description>&lt;P&gt;TimeZone specification in props.conf on a SplunkUniversalForwarder instance does not appear to be working for me.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;SplunkUniversalForwarder instance version 6.3.2&lt;/LI&gt;
&lt;LI&gt;Splunk instance (indexer) version 7.0.0&lt;/LI&gt;
&lt;LI&gt;The application server running the forwarder is in US/Eastern system timezone (cannot change)&lt;/LI&gt;
&lt;LI&gt;The logs are generated in UTC without a timezone specifier in the string (cannot change)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;As the logs are received by Splunk they are interpreted as being UTC-5 as I suppose the forwarder is appending its system timezone. As the _time field is subsequently converted to UTC we see logs with time values 5 hours in the future.&lt;/P&gt;

&lt;P&gt;I want to configure the forwarder instance to explicitly state that the timezone of the records it's sending on is UTC. I've tried the following:&lt;/P&gt;

&lt;P&gt;props.conf in:&lt;BR /&gt;
- apps/appname/local&lt;BR /&gt;
- apps/appname/default&lt;BR /&gt;
- system/local&lt;BR /&gt;
- system/default&lt;/P&gt;

&lt;P&gt;I've tried several different stanzas to match the log monitors, for example:&lt;/P&gt;

&lt;P&gt;[sourcetype]&lt;BR /&gt;
TZ = UTC&lt;/P&gt;

&lt;P&gt;[host::hostname*]&lt;BR /&gt;
TZ = UTC&lt;/P&gt;

&lt;P&gt;[source::...//logs//debug_*]&lt;BR /&gt;
TZ = UTC&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
TZ = UTC&lt;/P&gt;

&lt;P&gt;All to no avail. Actually I am now at the point where I don't think the configuration is a problem, but it may still be. I don't see &lt;EM&gt;any&lt;/EM&gt; difference to the logs imported regardless of which of the above options I use, so it's like it's being overridden at the indexer or simply not picked up.&lt;/P&gt;

&lt;P&gt;Documentation suggests that the forwarder should be able to append TimeZone information from props.conf post version 6 and that this ought to be respected when indexed. I'm not seeing this behaviour at all. I don't want to / can't configure this at the indexer as I have servers in multiple different timezones, they each need to be able to specify the source tz information.&lt;/P&gt;

&lt;P&gt;Can anyone suggest any other avenues of exploration? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 11:46:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404253#M71785</guid>
      <dc:creator>dan_ce</dc:creator>
      <dc:date>2019-02-21T11:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using props.conf on SplunkUniversalForwarder to denote TimeZone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404254#M71786</link>
      <description>&lt;P&gt;The props.conf file should go on the indexers rather than the universal forwarders.  If the sourcetype has forwarders in different time zones, then use a heavy forwarder and put the props.conf file there.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 17:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404254#M71786</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-02-21T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using props.conf on SplunkUniversalForwarder to denote TimeZone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404255#M71787</link>
      <description>&lt;P&gt;Thank you for your response. I must have misunderstood the line in the documentation which discusses timezone application precedence which states:&lt;/P&gt;

&lt;P&gt;"If the forwarder and the receiving indexer are version 6.0 or later, use the time zone that the forwarder provides."&lt;/P&gt;

&lt;P&gt;Is it then the case that this is hardwired to use &lt;EM&gt;only&lt;/EM&gt; the system timezone of the instance on which the Universal Forwarder sits? It's impossible to modify this using props.conf?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 17:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404255#M71787</guid>
      <dc:creator>dan_ce</dc:creator>
      <dc:date>2019-02-21T17:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using props.conf on SplunkUniversalForwarder to denote TimeZone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404256#M71788</link>
      <description>&lt;P&gt;The &lt;CODE&gt;TZ&lt;/CODE&gt; attribute should work on the UF, but isn't in your case so I offered solutions.  You should open a case with Splunk Support to find out why it's not working as documented.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 18:06:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404256#M71788</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-02-21T18:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using props.conf on SplunkUniversalForwarder to denote TimeZone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404257#M71789</link>
      <description>&lt;P&gt;Good to know it &lt;EM&gt;should&lt;/EM&gt; work, at least. Thanks for your help.&lt;/P&gt;

&lt;P&gt;I've found a workaround which is to use _tzhint on the input stanza - works first time!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 18:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404257#M71789</guid>
      <dc:creator>dan_ce</dc:creator>
      <dc:date>2019-02-21T18:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using props.conf on SplunkUniversalForwarder to denote TimeZone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404258#M71790</link>
      <description>&lt;P&gt;-- Is it then the case that this is hardwired to use only the system timezone of the instance on which the Universal Forwarder sits? It's impossible to modify this using &lt;CODE&gt;props.conf&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;The last resort should be to set the timezone in &lt;CODE&gt;props.conf&lt;/CODE&gt;, because you are hard-coding values.  &lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 21:51:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-props-conf-on-SplunkUniversalForwarder-to-denote-TimeZone/m-p/404258#M71790</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-02-21T21:51:30Z</dc:date>
    </item>
  </channel>
</rss>

