<?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: props.conf TZ not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540723#M90513</link>
    <description>&lt;P&gt;First, NEVER edit a default config file.&amp;nbsp; All changes to config files must be made in a 'local' directory.&amp;nbsp; Create the file, if necessary.&lt;/P&gt;&lt;P&gt;Second, don't worry about this until you fix your system timestamp problem.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Feb 2021 15:16:59 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-02-21T15:16:59Z</dc:date>
    <item>
      <title>props.conf TZ not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540678#M90512</link>
      <description>&lt;P&gt;I have a log that is putting the timestamp in UTC without any timezone, which appears Splunk thinks this is my time and I cannot get it to understand that the timezone is UTC&lt;/P&gt;&lt;P&gt;Example log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;Feb&lt;/SPAN&gt; &lt;SPAN class="t"&gt;21&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;2021&lt;/SPAN&gt; &lt;SPAN class="t"&gt;00:03:05.973&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class="t"&gt;0x7f6a027c5700&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class="t"&gt;DEBUG&lt;/SPAN&gt; &lt;SPAN class="t"&gt;-&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Completed:&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class="t"&gt;127.0.0.1:42302&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class="t"&gt;206&lt;/SPAN&gt; &lt;SPAN class="t"&gt;PUT ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In my `$SPLUNK_HOME/&lt;SPAN&gt;etc/apps/search/default/props.conf`&amp;nbsp;I have added:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[default]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TZ=GMT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My timezone is set in preferences to -0800 (Pacific) but it still shows these as the same time.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 00:07:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540678#M90512</guid>
      <dc:creator>treverce</dc:creator>
      <dc:date>2021-02-21T00:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf TZ not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540723#M90513</link>
      <description>&lt;P&gt;First, NEVER edit a default config file.&amp;nbsp; All changes to config files must be made in a 'local' directory.&amp;nbsp; Create the file, if necessary.&lt;/P&gt;&lt;P&gt;Second, don't worry about this until you fix your system timestamp problem.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 15:16:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540723#M90513</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-02-21T15:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf TZ not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540753#M90515</link>
      <description>&lt;P&gt;I agree with &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt; that you should not assign time in default.&lt;/P&gt;&lt;P&gt;Please review the precedence of configuration files: &lt;A href="https://medium.com/splunkuserdeveloperadministrator/splunk-configuration-files-precedence-explained-1b5c20b7b41c" target="_blank" rel="noopener"&gt;https://medium.com/splunkuserdeveloperadministrator/splunk-configuration-files-precedence-explained-1b5c20b7b41c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You likely have something overriding the timezone in your app local or system local directory.&amp;nbsp; I would check the props where the sourcetype is defined.&lt;/P&gt;&lt;P&gt;Additionally, if this data is forwarded, the indexer may not parse and change the time unless you specifically tell it to go to the parsing queue.&amp;nbsp; Forwarded data will not always go through each queue that data would go through in a single-instance deployment.&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.splunk.com/Community:HowIndexingWorks" target="_blank" rel="noopener"&gt;https://wiki.splunk.com/Community:HowIndexingWorks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Often times when I have a item not being applied from props, I find it is because I have the props stanza "applied" after the data has gone through the parsing queue, so it is not really applied.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 04:08:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540753#M90515</guid>
      <dc:creator>gbeatty</dc:creator>
      <dc:date>2021-02-22T04:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf TZ not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540779#M90520</link>
      <description>&lt;P&gt;I nuked my /etc files which caused Splunk to recreate.&amp;nbsp;Didn't fix anything, so that wasn't the issue. Its not the indexed data issue the Splunk search is always in Pacific, no matter what preference I have set up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, it is 12am in CA and Splunk search thinks my user is in UTC when its set to Pacific.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trever_0-1613981034394.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12998i2E699DDFB12CEF0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trever_0-1613981034394.png" alt="trever_0-1613981034394.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 08:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-TZ-not-working/m-p/540779#M90520</guid>
      <dc:creator>trever</dc:creator>
      <dc:date>2021-02-22T08:04:37Z</dc:date>
    </item>
  </channel>
</rss>

