<?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: Time stamp format in source type. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219793#M43162</link>
    <description>&lt;P&gt;When you say Hours field is showing two hours less then CEST, is it the _time value in search?? What timezone your Indexers are in and what is the time zone of user from which you're running the search?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 15:32:47 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-01-06T15:32:47Z</dc:date>
    <item>
      <title>Time stamp format in source type.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219789#M43158</link>
      <description>&lt;P&gt;I have selected the Time stamp format &lt;CODE&gt;%b %d %H:%M:%S CET %Y&lt;/CODE&gt; for one of the source-types.&lt;BR /&gt;
I would like to change it in such a way, so that it can handle both &lt;CODE&gt;CET&lt;/CODE&gt; and &lt;CODE&gt;CEST&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 12:14:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219789#M43158</guid>
      <dc:creator>biec1</dc:creator>
      <dc:date>2017-01-05T12:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp format in source type.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219790#M43159</link>
      <description>&lt;P&gt;Have you tried &lt;CODE&gt;%b %d %H:%M:%S %Z %Y&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 12:33:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219790#M43159</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-01-05T12:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp format in source type.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219791#M43160</link>
      <description>&lt;P&gt;Its not working as expected.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Date format in the event:-
Wed Aug 23 16:44:28 CEST 2016
Wed Aug 23 16:46:20 CET 2016

Props.conf settings:-
Timestamp format = %b %d %H:%M:%S CET %Y
Timestamp prefix = \s+\w+\s+
If i use `CET` or `CEST` in `Timestamp format`, the date and time are extracted properly.

But if i use %Z in the place of CET or CEST:-
Timestamp format = %b %d %H:%M:%S %Z %Y
The Hours field is showing two hours less for both CEST and CET.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jan 2017 09:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219791#M43160</guid>
      <dc:creator>biec1</dc:creator>
      <dc:date>2017-01-06T09:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp format in source type.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219792#M43161</link>
      <description>&lt;P&gt;I'm tempted to suggest using &lt;CODE&gt;TZ_ALIAS&lt;/CODE&gt;, but I'm not sure it will help.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 13:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219792#M43161</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-01-06T13:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp format in source type.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219793#M43162</link>
      <description>&lt;P&gt;When you say Hours field is showing two hours less then CEST, is it the _time value in search?? What timezone your Indexers are in and what is the time zone of user from which you're running the search?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219793#M43162</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-06T15:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp format in source type.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219794#M43163</link>
      <description>&lt;P&gt;The _time field is not getting proper values when i change the time zone from where i am running my search.&lt;/P&gt;

&lt;P&gt;The events comes with the following date format. It has CET or CEST hard-coded in the event.&lt;BR /&gt;
 Wed Aug 23 16:44:28 CEST 2016&lt;BR /&gt;
 Wed Aug 23 16:46:20 CET 2016&lt;/P&gt;

&lt;P&gt;In Props.conf settings:-&lt;BR /&gt;
 Timestamp format = %b %d %H:%M:%S CET %Y&lt;BR /&gt;
 Timestamp prefix = \s+\w+\s+&lt;BR /&gt;
 If i use &lt;CODE&gt;CET&lt;/CODE&gt; or &lt;CODE&gt;CEST&lt;/CODE&gt; in &lt;CODE&gt;Timestamp format&lt;/CODE&gt;, the date and time are extracted properly into _time field.&lt;/P&gt;

&lt;P&gt;I want to make this generic ,so that it can handle both CET and  CEST.&lt;BR /&gt;
 But if i use %Z in the place of CET or CEST, the Hours field in _time is showing wrong hours for both CEST and CET.&lt;BR /&gt;
 Timestamp format = %b %d %H:%M:%S %Z %Y&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 11:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219794#M43163</guid>
      <dc:creator>biec1</dc:creator>
      <dc:date>2017-01-09T11:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp format in source type.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219795#M43164</link>
      <description>&lt;P&gt;Events come with the following hard-coded date format.&lt;BR /&gt;
 Wed Aug 23 16:44:28 CEST 2016&lt;BR /&gt;
 Wed Aug 23 16:46:20 CET 2016&lt;/P&gt;

&lt;P&gt;In Props.conf settings:-&lt;BR /&gt;
 Timestamp format = %b %d %H:%M:%S CET %Y&lt;BR /&gt;
 Timestamp prefix = \s+\w+\s+&lt;BR /&gt;
 If i use &lt;CODE&gt;CET&lt;/CODE&gt; or &lt;CODE&gt;CEST&lt;/CODE&gt; in &lt;CODE&gt;Timestamp format&lt;/CODE&gt;, the date and time are extracted properly into _time field.&lt;/P&gt;

&lt;P&gt;I want to make this generic,so that it works with CET or CEST.&lt;BR /&gt;
But if i use %Z in the place of CET or CEST,  the hours field is not extrached properly into _time field for both CEST and CET.&lt;BR /&gt;
 Timestamp format = %b %d %H:%M:%S %Z %Y&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 12:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219795#M43164</guid>
      <dc:creator>biec1</dc:creator>
      <dc:date>2017-01-09T12:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp format in source type.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219796#M43165</link>
      <description>&lt;P&gt;not sure, but, did you try, TZ by this format in props?&lt;BR /&gt;
TZ = Europe/London  &lt;/P&gt;

&lt;P&gt;and, are the Universal forwarders and search head are in same timezone?&lt;/P&gt;

&lt;P&gt;one more question - why two timezones in a single log file?&lt;/P&gt;

&lt;P&gt;also when i searched, it says CEST is not used nowadays at all. &lt;BR /&gt;
&lt;A href="https://www.timeanddate.com/time/zones/cest"&gt;https://www.timeanddate.com/time/zones/cest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 13:14:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-format-in-source-type/m-p/219796#M43165</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2017-01-09T13:14:44Z</dc:date>
    </item>
  </channel>
</rss>

