<?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: Unable to parse timestamp from xml tag in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125714#M25922</link>
    <description>&lt;P&gt;The prefix is what comes BEFORE the timestamp:&lt;/P&gt;

&lt;P&gt;Timestamp prefix = Date="&lt;/P&gt;</description>
    <pubDate>Sun, 16 Nov 2014 03:12:41 GMT</pubDate>
    <dc:creator>cpetterborg</dc:creator>
    <dc:date>2014-11-16T03:12:41Z</dc:date>
    <item>
      <title>Unable to parse timestamp from xml tag</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125712#M25920</link>
      <description>&lt;P&gt;I am facing problem with timestamp from xml file entry.&lt;BR /&gt;
Following is the sample tag from xml file&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;row Id="82949" UserId="3893" Name="Teacher" Date="2008-09-15T08:55:03.957" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have specified following timeformat and timeprefix to detect timestamp.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Timestamp format = %Y-%m-%d'T'%H:%M:%S.%3N
Timestamp prefix = \d{4}-\d{2}-\d{2}+T\d{2}:\d{2}:\d{2}.\d{3}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am getting following &lt;STRONG&gt;error could not use strptime to parse timestamp from "" /&amp;gt;"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am new to Splunk, so help on this issue is really appreciated. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Nov 2014 01:15:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125712#M25920</guid>
      <dc:creator>v2k007</dc:creator>
      <dc:date>2014-11-16T01:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to parse timestamp from xml tag</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125713#M25921</link>
      <description>&lt;P&gt;First remove single quote from time fromat and dont use time prefix.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Nov 2014 02:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125713#M25921</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-11-16T02:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to parse timestamp from xml tag</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125714#M25922</link>
      <description>&lt;P&gt;The prefix is what comes BEFORE the timestamp:&lt;/P&gt;

&lt;P&gt;Timestamp prefix = Date="&lt;/P&gt;</description>
      <pubDate>Sun, 16 Nov 2014 03:12:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125714#M25922</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2014-11-16T03:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to parse timestamp from xml tag</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125715#M25923</link>
      <description>&lt;P&gt;It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks somesoni2 and cpetterborg&lt;/P&gt;</description>
      <pubDate>Sun, 16 Nov 2014 08:16:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-parse-timestamp-from-xml-tag/m-p/125715#M25923</guid>
      <dc:creator>v2k007</dc:creator>
      <dc:date>2014-11-16T08:16:43Z</dc:date>
    </item>
  </channel>
</rss>

