<?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 is not getting extracted properly ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234544#M188487</link>
    <description>&lt;P&gt;Hi there&lt;/P&gt;

&lt;P&gt;Thats weird mate, what Splunk version are you running ? Because timestamp recognition works just fine for me on 6.2.3 &amp;amp; 6.3.0&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2016 18:13:05 GMT</pubDate>
    <dc:creator>alemarzu</dc:creator>
    <dc:date>2016-03-07T18:13:05Z</dc:date>
    <item>
      <title>Time is not getting extracted properly ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234543#M188486</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;

&lt;P&gt;I am not able to extract time format from events like below&lt;/P&gt;

&lt;P&gt;07/03/2016           Mon Mar  7 10:42:25 2016 Info: End Logfile&lt;BR /&gt;
10:42:31.000    &lt;/P&gt;

&lt;P&gt;As it can be seen original time is 10.42.25 whereas splunk is parsing time as 10:42:31.000 . It is off by 6 seconds and it varies among other events how much it is getting off by. Below is my props.conf for this sourcetype:&lt;BR /&gt;
[abc]&lt;BR /&gt;
TIME_PREFIX=^&lt;BR /&gt;
TIME_FORMAT=%c&lt;/P&gt;

&lt;P&gt;But it is not working . What am i doing wrong ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234543#M188486</guid>
      <dc:creator>lohitkidu</dc:creator>
      <dc:date>2020-09-29T08:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Time is not getting extracted properly ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234544#M188487</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;

&lt;P&gt;Thats weird mate, what Splunk version are you running ? Because timestamp recognition works just fine for me on 6.2.3 &amp;amp; 6.3.0&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 18:13:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234544#M188487</guid>
      <dc:creator>alemarzu</dc:creator>
      <dc:date>2016-03-07T18:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Time is not getting extracted properly ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234545#M188488</link>
      <description>&lt;P&gt;"07/03/2016 Mon Mar 7 10:42:25"&lt;/P&gt;

&lt;P&gt;Could be matched by &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[abc]
TIME_PREFIX=^
TIME_FORMAT=%d/%m/%Y %a %b %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Derived from careful study of the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/SearchReference/Commontimeformatvariables"&gt;date and time format variables&lt;/A&gt;.  I'm not 100% positive &lt;CODE&gt;%c&lt;/CODE&gt; matches that.  (I generally try to not use 'magic' variables in those, because magic is a bit fiddly and has a way of biting the hand that's feeding it.)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 03:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234545#M188488</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2016-03-08T03:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Time is not getting extracted properly ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234546#M188489</link>
      <description>&lt;P&gt;Correct rich7177. Seems  like %c is not working here. I do not know why&lt;/P&gt;

&lt;P&gt;I have matched it with&lt;BR /&gt;
TIME_FORMAT=%a %b %d %H:%M:%S %Y&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 04:22:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-is-not-getting-extracted-properly/m-p/234546#M188489</guid>
      <dc:creator>lohitkidu</dc:creator>
      <dc:date>2016-03-08T04:22:21Z</dc:date>
    </item>
  </channel>
</rss>

