<?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 I control the trace line _time field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-control-the-trace-line-time-field/m-p/50931#M9767</link>
    <description>&lt;P&gt;&lt;CODE&gt;_time&lt;/CODE&gt; is normally the parsed timestamp from a message, and it is adjusted for timezone.&lt;/P&gt;

&lt;P&gt;If for some reason Splunk has got the wrong timezone set for a particular input, this can be corrected/specified in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[spec]
TZ = UTC
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;will instruct splunk to treat events of type &lt;CODE&gt;spec&lt;/CODE&gt; as being in the UTC timezone. &lt;CODE&gt;spec&lt;/CODE&gt; can be one of either &lt;CODE&gt;sourcetype&lt;/CODE&gt;, &lt;CODE&gt;source::your_source_name&lt;/CODE&gt; or &lt;CODE&gt;host::your_host&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;See the following docs for more info;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Aboutconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Aboutconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2013 11:01:32 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-08-29T11:01:32Z</dc:date>
    <item>
      <title>How do I control the trace line _time field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-control-the-trace-line-time-field/m-p/50930#M9766</link>
      <description>&lt;P&gt;I have a log file with traces of the format:&lt;BR /&gt;
[source name] [level] [id]: [Time] [trace message]&lt;/P&gt;

&lt;P&gt;Splunk auto identifies the _time field and indexes my trace log according to it. &lt;/P&gt;

&lt;P&gt;The problem is that this time is a UTC representation and Splunk identifies it as some other timezone. (my user timezone is configured to GMT) &lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
The original trace line:&lt;BR /&gt;
TestTraceSource Information: 0 : Time: 08/29/2013 10:16:52, message . . .&lt;/P&gt;

&lt;P&gt;Is indexed as:&lt;BR /&gt;
_time: &lt;STRONG&gt;08/29/2013 07:16:52&lt;/STRONG&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Trace: TestTraceSource Information: 0 : Time: &lt;STRONG&gt;08/29/2013 10:16:52&lt;/STRONG&gt;, message . . .&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Avital&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 10:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-control-the-trace-line-time-field/m-p/50930#M9766</guid>
      <dc:creator>avitallange</dc:creator>
      <dc:date>2013-08-29T10:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I control the trace line _time field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-control-the-trace-line-time-field/m-p/50931#M9767</link>
      <description>&lt;P&gt;&lt;CODE&gt;_time&lt;/CODE&gt; is normally the parsed timestamp from a message, and it is adjusted for timezone.&lt;/P&gt;

&lt;P&gt;If for some reason Splunk has got the wrong timezone set for a particular input, this can be corrected/specified in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[spec]
TZ = UTC
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;will instruct splunk to treat events of type &lt;CODE&gt;spec&lt;/CODE&gt; as being in the UTC timezone. &lt;CODE&gt;spec&lt;/CODE&gt; can be one of either &lt;CODE&gt;sourcetype&lt;/CODE&gt;, &lt;CODE&gt;source::your_source_name&lt;/CODE&gt; or &lt;CODE&gt;host::your_host&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;See the following docs for more info;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Aboutconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Aboutconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 11:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-control-the-trace-line-time-field/m-p/50931#M9767</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-08-29T11:01:32Z</dc:date>
    </item>
  </channel>
</rss>

