<?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: help with time_prefix in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168682#M98212</link>
    <description>&lt;P&gt;Perfect. Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Aug 2014 02:41:57 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2014-08-04T02:41:57Z</dc:date>
    <item>
      <title>help with time_prefix</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168680#M98210</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using data preview to test some new feeds, and while the event breaking is fine, I'm getting a warning message about needing TIME_PREFIX, and the time isn't parsing properly.  &lt;/P&gt;

&lt;P&gt;My props.conf config is:&lt;/P&gt;

&lt;P&gt;ANNOTATE_PUNCT = false&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
LINE_BREAKER = ([\r\n]+)&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 30&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TIME_FORMAT = %Y/%m/%d %H:%M:%S&lt;BR /&gt;
TIME_PREFIX = |&lt;BR /&gt;
TRUNCATE = 999999&lt;/P&gt;

&lt;P&gt;Here's some sample data.  How would I configure the TIME_PREFIX in this situation?  &lt;/P&gt;

&lt;P&gt;STATUS | wrapper  | 2014/04/15 11:26:49 | --&amp;gt; Wrapper Started as Service&lt;BR /&gt;
STATUS | wrapper  | 2014/04/15 11:26:49 | Java Service Wrapper Professional Edition 64-bit 3.4.0&lt;BR /&gt;
STATUS | wrapper  | 2014/04/15 11:26:49 |   Copyright (C) 1999-2010 Tanuki Software, Ltd.  All Rights Reserved.&lt;BR /&gt;
STATUS | wrapper  | 2014/04/15 11:26:49 |     &lt;A href="http://wrapper.tanukisoftware.org" target="_blank"&gt;http://wrapper.tanukisoftware.org&lt;/A&gt;&lt;BR /&gt;
STATUS | wrapper  | 2014/04/15 11:26:49 |   Licensed to VMware Global, Inc. for VMware vCenter Inventory Service&lt;BR /&gt;
STATUS | wrapper  | 2014/04/15 11:26:49 | &lt;BR /&gt;
STATUS | wrapper  | 2014/04/15 11:26:49 | Launching a JVM...&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:26:49 | WrapperManager: Initializing...&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:26:59 | Apr 15, 2014 11:26:59 AM org.apache.catalina.core.AprLifecycleListener init&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:26:59 | INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on&lt;BR /&gt;
 the java.library.path: ../lib;../../bin&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:27:00 | Apr 15, 2014 11:26:59 AM org.apache.coyote.AbstractProtocol init&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:27:00 | INFO: Initializing ProtocolHandler ["http-bio-0.0.0.0-10080"]&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:27:00 | Apr 15, 2014 11:26:59 AM org.apache.coyote.AbstractProtocol init&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:27:00 | INFO: Initializing ProtocolHandler ["http-bio-0.0.0.0-10443"]&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:27:00 | Apr 15, 2014 11:27:00 AM org.apache.catalina.core.StandardService startInternal&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:27:00 | INFO: Starting service Tomcat&lt;BR /&gt;
INFO   | jvm 1    | 2014/04/15 11:27:00 | Apr 15, 2014 11:27:00 AM org.apache.catalina.core.StandardEngine startInternal&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:15:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168680#M98210</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-28T17:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: help with time_prefix</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168681#M98211</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = ([^|]+\|){2}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Should do it. One or more non-pipe characters followed by a pipe, repeated twice. Can also be written:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = [^|]+\|[^|]+\|
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2014 01:54:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168681#M98211</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-08-04T01:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: help with time_prefix</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168682#M98212</link>
      <description>&lt;P&gt;Perfect. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2014 02:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168682#M98212</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-08-04T02:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: help with time_prefix</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168683#M98213</link>
      <description>&lt;P&gt;was the sourcetype is tomcat:runtime:log? or is it different? please let me know how you managed the sourcetype&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 12:05:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-time-prefix/m-p/168683#M98213</guid>
      <dc:creator>sundarrajan</dc:creator>
      <dc:date>2018-11-27T12:05:53Z</dc:date>
    </item>
  </channel>
</rss>

