<?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: Could not use strptime to parse timestamp in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41426#M9603</link>
    <description>&lt;P&gt;I didnt see that option...good to know.&lt;/P&gt;</description>
    <pubDate>Wed, 02 May 2012 13:00:36 GMT</pubDate>
    <dc:creator>sdaniels</dc:creator>
    <dc:date>2012-05-02T13:00:36Z</dc:date>
    <item>
      <title>Could not use strptime to parse timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41424#M9601</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm adding detail files from FreeRadius, which looks like following:&lt;/P&gt;

&lt;P&gt;Wed May  2 10:28:04 2012&lt;BR /&gt;
    NAS-IP-Address = 192.168.193.67&lt;BR /&gt;
    User-Name = "a12345677"&lt;BR /&gt;
    NAS-Port = 0&lt;BR /&gt;
    NAS-Port-Type = Wireless-802.11&lt;BR /&gt;
[snipped]&lt;/P&gt;

&lt;P&gt;I specified following in props.conf:&lt;/P&gt;

&lt;P&gt;TIME_FORMAT=%a %b %d %H:%M:%S %Y&lt;BR /&gt;
TIME_PREFIX=^&lt;/P&gt;

&lt;P&gt;The Data Preview panel complains about "Could not parse strptime to parse timestamp", although it is still okay to identify individual records.  I wonder if I make any mistake in the format string .  Would anyone please help?&lt;/P&gt;

&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41424#M9601</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2020-09-28T11:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Could not use strptime to parse timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41425#M9602</link>
      <description>&lt;P&gt;You should change the &lt;STRONG&gt;&lt;CODE&gt;%d&lt;/CODE&gt;&lt;/STRONG&gt; (01-31) for a &lt;STRONG&gt;&lt;CODE&gt;%e&lt;/CODE&gt;&lt;/STRONG&gt; (1-31) in TIME_FORMAT.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;UPDATE:&lt;BR /&gt;
What are the values for &lt;CODE&gt;timestartpos&lt;/CODE&gt; and &lt;CODE&gt;timeendpos&lt;/CODE&gt;? Do they correspond to where your timestamp begins and ends? Those fields are automatically extracted, but to see them you may have to click the "View all XX fields" in the field picker on the left. &lt;/P&gt;

&lt;P&gt;Perhaps you need to remove/change the &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; and specify a &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt;. &lt;/P&gt;

&lt;P&gt;Please post a complete event, and what time splunk interprets, and the &lt;CODE&gt;timestartpos&lt;/CODE&gt; and &lt;CODE&gt;timeendpos&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2012 12:56:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41425#M9602</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-05-02T12:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Could not use strptime to parse timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41426#M9603</link>
      <description>&lt;P&gt;I didnt see that option...good to know.&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2012 13:00:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41426#M9603</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-05-02T13:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Could not use strptime to parse timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41427#M9604</link>
      <description>&lt;P&gt;Same result after changing %d to %e.&lt;BR /&gt;
Anyway, thanks for your help.&lt;/P&gt;

&lt;P&gt;/ST&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 05:52:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41427#M9604</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2012-05-03T05:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Could not use strptime to parse timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41428#M9605</link>
      <description>&lt;P&gt;see update above. /k&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 07:48:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41428#M9605</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-05-03T07:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Could not use strptime to parse timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41429#M9606</link>
      <description>&lt;P&gt;Is there any news on this topic?&lt;BR /&gt;
I have the same problem...&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 16:31:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41429#M9606</guid>
      <dc:creator>goelli</dc:creator>
      <dc:date>2017-03-06T16:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Could not use strptime to parse timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41430#M9607</link>
      <description>&lt;P&gt;I left this question unchecked for long tims, as the time can be parsed correctly...&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 06:14:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Could-not-use-strptime-to-parse-timestamp/m-p/41430#M9607</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2017-03-10T06:14:36Z</dc:date>
    </item>
  </channel>
</rss>

