<?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: TimeStamp translation in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20531#M3006</link>
    <description>&lt;P&gt;Sorry, when I said that the changes go to the props.conf, from what I read that is where I should put in the code to get the information from the log. I am not 100% sure of that as I have not made many changes from the default collection that splunk does. If that is not what needs to be changed, please point me in the correct direction. The date/time format in my example is 20100226|083918 and I want that to show up as the event time of month/day/year and the time 083918 show up date 8:39:18 AM.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2010 00:58:41 GMT</pubDate>
    <dc:creator>bc_unixadm</dc:creator>
    <dc:date>2010-07-27T00:58:41Z</dc:date>
    <item>
      <title>TimeStamp translation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20529#M3004</link>
      <description>&lt;P&gt;I have a date and time timestamp that looks like DATABASE|20100226|123918|20100226|083918|
and I want to extract the date and second time stamp (local not GMT). I have figured out that the changes would be to the props.conf, I am having trouble getting the correct format to get the date/time in the database correctly as this is the time of the event.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;thanks &lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2010 00:28:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20529#M3004</guid>
      <dc:creator>bc_unixadm</dc:creator>
      <dc:date>2010-07-27T00:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: TimeStamp translation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20530#M3005</link>
      <description>&lt;P&gt;When you say you have figured out the changes would be in props.conf are you using TIME_PREFIX and TIME_FORMAT attributes? see example below.&lt;/P&gt;

&lt;P&gt;Example: web proxy log&lt;BR /&gt;
10.100.2.3, jdoe, Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1), 
-, 9/17/2009, 9:01:00, -, hostname, 
props.conf&lt;/P&gt;

&lt;P&gt;Specify what Splunk recognizes as a timestamp. Extract Date and Time at 4th and 5th comma 
delimited&lt;/P&gt;

&lt;P&gt;TIME_PREFIX = ^(?:[^\,]+,){4}\s* # will find 9/17/2009 and 0:00:00 after 4th comma&lt;/P&gt;

&lt;P&gt;Format time as month/day/year, hour:min:second&lt;/P&gt;

&lt;P&gt;TIME_FORMAT = %m/%d/%Y, %H:%M:%S       &lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2010 00:45:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20530#M3005</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2010-07-27T00:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: TimeStamp translation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20531#M3006</link>
      <description>&lt;P&gt;Sorry, when I said that the changes go to the props.conf, from what I read that is where I should put in the code to get the information from the log. I am not 100% sure of that as I have not made many changes from the default collection that splunk does. If that is not what needs to be changed, please point me in the correct direction. The date/time format in my example is 20100226|083918 and I want that to show up as the event time of month/day/year and the time 083918 show up date 8:39:18 AM.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2010 00:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20531#M3006</guid>
      <dc:creator>bc_unixadm</dc:creator>
      <dc:date>2010-07-27T00:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: TimeStamp translation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20532#M3007</link>
      <description>&lt;P&gt;More precisely, in your case you want a props.conf that looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;spec&amp;gt;
TIME_PREFIX = ^\w+\|\d+\|\d+\|
TIME_FORMAT = %Y%m%d|%H%M%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Check &lt;A href="http://www.splunk.com/base/Documentation/4.1.5/Admin/Configuretimestamprecognition" rel="nofollow"&gt;this doc page&lt;/A&gt; for more information on timestamp recognition&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2010 13:08:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-translation/m-p/20532#M3007</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-10-05T13:08:23Z</dc:date>
    </item>
  </channel>
</rss>

