<?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: TimeZone setting not working for host set from host_regex? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183445#M36726</link>
    <description>&lt;P&gt;Fair enough; my bad.&lt;BR /&gt;
Even if I fix that, it still doesn't work.&lt;BR /&gt;
I have another stanza like this which also does not work:&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[host::IE*]&lt;BR /&gt;
TZ = US/Pacific&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2014 07:33:17 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2014-05-30T07:33:17Z</dc:date>
    <item>
      <title>TimeZone setting not working for host set from host_regex?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183443#M36724</link>
      <description>&lt;P&gt;This configuration is not working:&lt;/P&gt;

&lt;P&gt;From inputs.conf&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[monitor:///somepath/&lt;EM&gt;.csv]&lt;BR /&gt;
host_regex = .&lt;/EM&gt;&lt;EM&gt;([^&lt;/EM&gt;]&lt;EM&gt;)&lt;EM&gt;[^&lt;/EM&gt;]&lt;/EM&gt;.csv(?:.gz)?$&lt;BR /&gt;
sourcetype = somesourcetype&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;From props.conf:&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[host::PR*]&lt;BR /&gt;
TZ = US/Atlantic&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The host is correctly being set but the TZ is not.  Based on this (version 6.1, BTW), I am assuming that if the host value is set using "host_regex", then "host" cannot be used to start a stanza in props.conf, right?  If not, why does this not work?&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2014 04:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183443#M36724</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2014-05-30T04:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone setting not working for host set from host_regex?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183444#M36725</link>
      <description>&lt;P&gt;Setting the TZ off of the host that has been set with host_regex is totally legit.&lt;/P&gt;

&lt;P&gt;However... the Atlantic Standard Time Zone is a Not a US time zone...  That's Quebec...&lt;/P&gt;

&lt;P&gt;Atlantic Standard Time - Quebec - Lower North Shore (Canada)  That's -4:00 with no DST&lt;/P&gt;

&lt;P&gt;I imagine however based on the host example you are using that you're looking for Puerto Rico&lt;BR /&gt;
America/Puerto_Rico which is also -4:00/-4:00 with no DST&lt;/P&gt;

&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/List_of_tz_database_time_zones"&gt;http://en.wikipedia.org/wiki/List_of_tz_database_time_zones&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2014 06:07:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183444#M36725</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2014-05-30T06:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone setting not working for host set from host_regex?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183445#M36726</link>
      <description>&lt;P&gt;Fair enough; my bad.&lt;BR /&gt;
Even if I fix that, it still doesn't work.&lt;BR /&gt;
I have another stanza like this which also does not work:&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[host::IE*]&lt;BR /&gt;
TZ = US/Pacific&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2014 07:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183445#M36726</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2014-05-30T07:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone setting not working for host set from host_regex?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183446#M36727</link>
      <description>&lt;P&gt;OK, I figured it out.&lt;/P&gt;

&lt;P&gt;This DOES NOT WORK:&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[host::CH...|DA...|NV...]&lt;BR /&gt;
TZ = US/Central&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This DOES WORK:&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[host::(CH...|DA...|NV...)]&lt;BR /&gt;
TZ = US/Central&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2014 04:15:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeZone-setting-not-working-for-host-set-from-host-regex/m-p/183446#M36727</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2014-06-04T04:15:26Z</dc:date>
    </item>
  </channel>
</rss>

