<?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 Assistance with extracting timestamp from log file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Assistance-with-extracting-timestamp-from-log-file/m-p/168402#M34082</link>
    <description>&lt;P&gt;I have some log files that have a diffrent time format than I have ran into before.&lt;BR /&gt;
The log files timestamps look like this.&lt;BR /&gt;
5/14/2014^2:54:39:16^&lt;BR /&gt;
Day/month/year^hour:min:sec:ms&lt;/P&gt;

&lt;P&gt;I can get the auto timestamp to recognize the Day/Month/year but has no idea how to look at the time.  Can anyone suggest a strip time or props.conf regex to allow splunk to process this?&lt;/P&gt;</description>
    <pubDate>Fri, 16 May 2014 22:42:33 GMT</pubDate>
    <dc:creator>matt4321</dc:creator>
    <dc:date>2014-05-16T22:42:33Z</dc:date>
    <item>
      <title>Assistance with extracting timestamp from log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Assistance-with-extracting-timestamp-from-log-file/m-p/168402#M34082</link>
      <description>&lt;P&gt;I have some log files that have a diffrent time format than I have ran into before.&lt;BR /&gt;
The log files timestamps look like this.&lt;BR /&gt;
5/14/2014^2:54:39:16^&lt;BR /&gt;
Day/month/year^hour:min:sec:ms&lt;/P&gt;

&lt;P&gt;I can get the auto timestamp to recognize the Day/Month/year but has no idea how to look at the time.  Can anyone suggest a strip time or props.conf regex to allow splunk to process this?&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2014 22:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Assistance-with-extracting-timestamp-from-log-file/m-p/168402#M34082</guid>
      <dc:creator>matt4321</dc:creator>
      <dc:date>2014-05-16T22:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with extracting timestamp from log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Assistance-with-extracting-timestamp-from-log-file/m-p/168403#M34083</link>
      <description>&lt;P&gt;Does this work?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT=%m/%d/%Y^%H:%M:%S:%f
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I dragged it out of an old Python spec.&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2014 23:26:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Assistance-with-extracting-timestamp-from-log-file/m-p/168403#M34083</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-05-16T23:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with extracting timestamp from log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Assistance-with-extracting-timestamp-from-log-file/m-p/168404#M34084</link>
      <description>&lt;P&gt;Perfect that worked great!!&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2014 23:29:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Assistance-with-extracting-timestamp-from-log-file/m-p/168404#M34084</guid>
      <dc:creator>matt4321</dc:creator>
      <dc:date>2014-05-16T23:29:15Z</dc:date>
    </item>
  </channel>
</rss>

