<?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 to parse an unusual timestamp format? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317454#M59345</link>
    <description>&lt;P&gt;The Z is specific to Zulu time, i.e. UTC, i.e. GMT.    In that same time zone specifier spot, you might see CDT for Central US Daylight Savings Time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N%Z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please post the &lt;CODE&gt;_raw&lt;/CODE&gt; timestamp from a couple of the events that did &lt;STRONG&gt;not&lt;/STRONG&gt; parse, and we can analyze if there is another issue.  &lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2017 21:38:35 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-04-10T21:38:35Z</dc:date>
    <item>
      <title>How to parse an unusual timestamp format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317450#M59341</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I have have some inconsistent timestamp parsing issues that I believe are due to an incorrect TIME_FORMAT value in my props.conf file and I am hoping that someone may be able to clarify what I've done wrong here. I get timestamps ingested into my Splunk instance with a format like this:&lt;/P&gt;

&lt;P&gt;2017-01-31T19:35:43.379Z&lt;/P&gt;

&lt;P&gt;This is the TIME_FORMAT value I have been using:&lt;/P&gt;

&lt;P&gt;TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N&lt;/P&gt;

&lt;P&gt;It is mostly consistent but sometimes appears to not get parsed. Splunk Support has only been able to suggest at the Z at the end might be the issue, and on review of the documentation I don't see a specific way to note that in the TIME_FORMAT string. Does anyone know how to structure TIME_FORMAT to properly capture this? &lt;BR /&gt;
I am not able to alter this data in any way so I must work with this format as-is.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:35:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317450#M59341</guid>
      <dc:creator>jpolson</dc:creator>
      <dc:date>2020-09-29T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse an unusual timestamp format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317451#M59342</link>
      <description>&lt;P&gt;If the 'Z' is always present in the timestamp then just include it in the format string.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3NZ
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Apr 2017 20:34:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317451#M59342</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-04-10T20:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse an unusual timestamp format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317452#M59343</link>
      <description>&lt;P&gt;Thanks, Rich. I tried that and several variants of the %3N bit at the end but they don't appear to have any effect -- my Splunk instance is ignoring it and ingesting events at "now".  Do you have any idea why that might be? I am using a very high value for MAX_TIMESTAMP_LOOKAHEAD so I believe that is not the issue.&lt;/P&gt;

&lt;P&gt;Are there any other props.conf config settings that might be interfering with this? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:35:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317452#M59343</guid>
      <dc:creator>jpolson</dc:creator>
      <dc:date>2020-09-29T13:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse an unusual timestamp format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317453#M59344</link>
      <description>&lt;P&gt;Ensure that you configure it on the parsing level, either HWF if available or IDX &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; and also make sure to restart the Splunk instance you configured.&lt;/P&gt;

&lt;P&gt;Check using &lt;CODE&gt;btool&lt;/CODE&gt; on the parsing instance to see if your props is applied correctly or if some other &lt;CODE&gt;props.conf&lt;/CODE&gt; is taking precedence over it.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 21:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317453#M59344</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-04-10T21:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse an unusual timestamp format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317454#M59345</link>
      <description>&lt;P&gt;The Z is specific to Zulu time, i.e. UTC, i.e. GMT.    In that same time zone specifier spot, you might see CDT for Central US Daylight Savings Time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N%Z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please post the &lt;CODE&gt;_raw&lt;/CODE&gt; timestamp from a couple of the events that did &lt;STRONG&gt;not&lt;/STRONG&gt; parse, and we can analyze if there is another issue.  &lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 21:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-an-unusual-timestamp-format/m-p/317454#M59345</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-04-10T21:38:35Z</dc:date>
    </item>
  </channel>
</rss>

