<?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 Parsing of events with fixed pattern in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490720#M137012</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using Splunk to parse a particular sets of logs since many years but recently i have started facing some issue. Very few of the events are getting merged instead of parsing as a separate event.&lt;/P&gt;

&lt;P&gt;Consider below example&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2020-05-04 16:45:47,&lt;/STRONG&gt;122 [ INFO] [CMEPS_JMSMessengerInject-EnterpriseMessageListener-186] - s_proc_id=921844e5-8130-4f29-9418-5622d95dfeef s_comp_id=ARCHIVER s_seq_no=9 s_proc_dur=372 s_proc_outcome=success&lt;BR /&gt;
&lt;STRONG&gt;2020-05-04 16:45:48,&lt;/STRONG&gt;124 [ INFO] [CMEPS_JMSMessengerInject-EnterpriseMessageListener-186]&lt;/P&gt;

&lt;P&gt;These two events should be segregated and should not be merged under any condition. &lt;/P&gt;

&lt;P&gt;Could someone help me to provide correct props.conf for this sourcetype so that Splunk only starts event with  this timestamp pattern ex(2020-05-04 16:45:47)&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Devang&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 05:17:57 GMT</pubDate>
    <dc:creator>ramprakash</dc:creator>
    <dc:date>2020-09-30T05:17:57Z</dc:date>
    <item>
      <title>Parsing of events with fixed pattern</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490720#M137012</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using Splunk to parse a particular sets of logs since many years but recently i have started facing some issue. Very few of the events are getting merged instead of parsing as a separate event.&lt;/P&gt;

&lt;P&gt;Consider below example&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2020-05-04 16:45:47,&lt;/STRONG&gt;122 [ INFO] [CMEPS_JMSMessengerInject-EnterpriseMessageListener-186] - s_proc_id=921844e5-8130-4f29-9418-5622d95dfeef s_comp_id=ARCHIVER s_seq_no=9 s_proc_dur=372 s_proc_outcome=success&lt;BR /&gt;
&lt;STRONG&gt;2020-05-04 16:45:48,&lt;/STRONG&gt;124 [ INFO] [CMEPS_JMSMessengerInject-EnterpriseMessageListener-186]&lt;/P&gt;

&lt;P&gt;These two events should be segregated and should not be merged under any condition. &lt;/P&gt;

&lt;P&gt;Could someone help me to provide correct props.conf for this sourcetype so that Splunk only starts event with  this timestamp pattern ex(2020-05-04 16:45:47)&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Devang&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:17:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490720#M137012</guid>
      <dc:creator>ramprakash</dc:creator>
      <dc:date>2020-09-30T05:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing of events with fixed pattern</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490721#M137013</link>
      <description>&lt;P&gt;What are the current props.conf settings for that sourcetype?&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 16:37:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490721#M137013</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-04T16:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing of events with fixed pattern</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490722#M137014</link>
      <description>&lt;P&gt;There is no settings as of now.&lt;/P&gt;

&lt;P&gt;From docs i understood that some changes in props.conf is required.&lt;/P&gt;

&lt;P&gt;Could you please suggest.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 16:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490722#M137014</guid>
      <dc:creator>ramprakash</dc:creator>
      <dc:date>2020-05-04T16:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing of events with fixed pattern</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490723#M137015</link>
      <description>&lt;P&gt;One should never onboard a sourcetype without specific props.conf settings.  Letting Splunk about the data is asking for problems and actually slows Splunk down.  Every sourcetype should specify these six attributes:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX
TIME_FORMAT
MAX_TIMESTAMP_LOOKAHEAD
SHOULD_LINEMERGE
LINE_BREAKER
TRUNCATE
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the data is sent by a universal forwarder then you should also specify &lt;CODE&gt;EVENT_BREAKER&lt;/CODE&gt; and &lt;CODE&gt;EVENT_BREAKER_ENABLE = true&lt;/CODE&gt; in the forwarder's props.conf.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 19:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490723#M137015</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-04T19:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing of events with fixed pattern</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490724#M137016</link>
      <description>&lt;P&gt;Thank you so much for explaining about onboarding new sourcetype..so in present scenario which configuration you recommend, i just want my events to start with timestamp only with no merging of other timestamp event. Do I need to use breakonlybefore ?&lt;/P&gt;

&lt;P&gt;Appreciate your response.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 19:15:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490724#M137016</guid>
      <dc:creator>ramprakash</dc:creator>
      <dc:date>2020-05-04T19:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing of events with fixed pattern</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490725#M137017</link>
      <description>&lt;P&gt;You should not need &lt;CODE&gt;BREAK_ONLY_BEFORE&lt;/CODE&gt;.  Try these settings.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = ^
TIME_FORMAT =  %Y-%m-%d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 19
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)
TRUNCATE = 10000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 May 2020 20:17:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-of-events-with-fixed-pattern/m-p/490725#M137017</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-04T20:17:49Z</dc:date>
    </item>
  </channel>
</rss>

