<?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: Splunk timezone change for a specific sourcetye in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-timezone-change-for-a-specific-sourcetye/m-p/291909#M55638</link>
    <description>&lt;P&gt;"_tzhint"needs to be removed. It is not a documented feature and it was only used in splunk STORM which was the precursor to Cloud. It is NOT supported.  So it won't change the logs timestamp.&lt;/P&gt;

&lt;P&gt;Analyse your logs and set proper values for the below parameters in props.conf file.&lt;/P&gt;

&lt;P&gt;[web_logs]&lt;BR /&gt;
TIME_PREFIX =   &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration" target="_blank"&gt;link text&lt;/A&gt;&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD =   &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration" target="_blank"&gt;link text&lt;/A&gt;&lt;BR /&gt;
TIME_FORMAT =   &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration" target="_blank"&gt;link text&lt;/A&gt;&lt;BR /&gt;
TZ = UTC&lt;/P&gt;

&lt;P&gt;The above configuration should fix this issue.&lt;/P&gt;

&lt;P&gt;For more details, refer the below links:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Applytimezoneoffsetstotimestamps" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Applytimezoneoffsetstotimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Data/Configurepositionaltimestampextraction" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Data/Configurepositionaltimestampextraction&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:12:54 GMT</pubDate>
    <dc:creator>bsriramineni_sp</dc:creator>
    <dc:date>2020-09-29T16:12:54Z</dc:date>
    <item>
      <title>Splunk timezone change for a specific sourcetye</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-timezone-change-for-a-specific-sourcetye/m-p/291908#M55637</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using the timezone converting attribute " _tzhint" to convert EDT to UTC . This attribute was able to convert events timestamp to UTC  but it is only converting only very few events, but  not all. Below is the how  configuration looks. when I use "TZ=UTC" splunk is not converting to UTC timezone , it is still using system time that is the reason I used _tzhint&lt;/P&gt;

&lt;P&gt;[monitor:///web/appache.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
followTail = 0&lt;BR /&gt;
_tzhint=UTC&lt;BR /&gt;
index = apache_web&lt;BR /&gt;
sourcetype=web_logs&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:07:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-timezone-change-for-a-specific-sourcetye/m-p/291908#M55637</guid>
      <dc:creator>kteng2024</dc:creator>
      <dc:date>2020-09-29T16:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk timezone change for a specific sourcetye</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-timezone-change-for-a-specific-sourcetye/m-p/291909#M55638</link>
      <description>&lt;P&gt;"_tzhint"needs to be removed. It is not a documented feature and it was only used in splunk STORM which was the precursor to Cloud. It is NOT supported.  So it won't change the logs timestamp.&lt;/P&gt;

&lt;P&gt;Analyse your logs and set proper values for the below parameters in props.conf file.&lt;/P&gt;

&lt;P&gt;[web_logs]&lt;BR /&gt;
TIME_PREFIX =   &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration" target="_blank"&gt;link text&lt;/A&gt;&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD =   &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration" target="_blank"&gt;link text&lt;/A&gt;&lt;BR /&gt;
TIME_FORMAT =   &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration" target="_blank"&gt;link text&lt;/A&gt;&lt;BR /&gt;
TZ = UTC&lt;/P&gt;

&lt;P&gt;The above configuration should fix this issue.&lt;/P&gt;

&lt;P&gt;For more details, refer the below links:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Propsconf#Timestamp_extraction_configuration&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Applytimezoneoffsetstotimestamps" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Applytimezoneoffsetstotimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Data/Configurepositionaltimestampextraction" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Data/Configurepositionaltimestampextraction&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:12:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-timezone-change-for-a-specific-sourcetye/m-p/291909#M55638</guid>
      <dc:creator>bsriramineni_sp</dc:creator>
      <dc:date>2020-09-29T16:12:54Z</dc:date>
    </item>
  </channel>
</rss>

