<?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: Add new custom timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80269#M16518</link>
    <description>&lt;P&gt;a typo in the typo. where i say "type" i mean typo&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2010 22:04:24 GMT</pubDate>
    <dc:creator>Eagleman</dc:creator>
    <dc:date>2010-10-29T22:04:24Z</dc:date>
    <item>
      <title>Add new custom timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80266#M16515</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I have a timestamp like Oct28-215189[ERROR]remoteHost: something&lt;/P&gt;

&lt;P&gt;I tried to train splunk to recognize it but without luck.&lt;/P&gt;

&lt;P&gt;could you give me some help ? &lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 21:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80266#M16515</guid>
      <dc:creator>Eagleman</dc:creator>
      <dc:date>2010-10-29T21:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add new custom timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80267#M16516</link>
      <description>&lt;P&gt;Some more information would be necessary to help with this.  I assumed at first that this was "MonDD-HHMMSS" -- but 89 seconds did not make sense.  In that example above, what date/time does it actually represent?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 21:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80267#M16516</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-10-29T21:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add new custom timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80268#M16517</link>
      <description>&lt;P&gt;Ups. you are right. 89 is a type. actually it is &lt;BR /&gt;
Oct28-215129[ERROR]remoteHost: something&lt;/P&gt;

&lt;P&gt;as you guess, it represents "MonDD-HHMMSS"&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 22:03:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80268#M16517</guid>
      <dc:creator>Eagleman</dc:creator>
      <dc:date>2010-10-29T22:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add new custom timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80269#M16518</link>
      <description>&lt;P&gt;a typo in the typo. where i say "type" i mean typo&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 22:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80269#M16518</guid>
      <dc:creator>Eagleman</dc:creator>
      <dc:date>2010-10-29T22:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add new custom timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80270#M16519</link>
      <description>&lt;P&gt;You can configure Splunk to parse a time field specifically using props.conf&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Propsconf" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This is the first option Splunk uses to parse a time, according to &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Configuretimestamprecognition" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The TIME_FORMAT and TIME_PREFIX options in props.conf are going to be most useful here.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype]
TIME_PREFIX=^
TIME_FORMAT=%b%d-%H%M%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That should properly parse your time stamp.  The only part I'm unsure about is where it will get the year from.  It might be worth some testing if you can dummy up a system time to fake the year rollover.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 22:14:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80270#M16519</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-10-29T22:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add new custom timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80271#M16520</link>
      <description>&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; I did the same but propably it didn't work because i forgot the "^". Something more. Is there any way to extract the host ? (it's right after [ERROR]&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 22:22:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80271#M16520</guid>
      <dc:creator>Eagleman</dc:creator>
      <dc:date>2010-10-29T22:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Add new custom timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80272#M16521</link>
      <description>&lt;P&gt;yes, you should be able to extract the host using a regex ... docs cover it here - &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Overridedefaulthostassignments"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Overridedefaulthostassignments&lt;/A&gt; .. if this doesn't get you going, I recommend you submit a new question specific to that.  (Trying to handle follow-ons in comments can get difficult)&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2010 02:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-new-custom-timestamp/m-p/80272#M16521</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-11-02T02:39:03Z</dc:date>
    </item>
  </channel>
</rss>

