<?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: Multiline Event being split into multiple events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428112#M74992</link>
    <description>&lt;P&gt;you needs to post your props.conf config and a sample data set and a sample of the truncated events&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2019 21:57:24 GMT</pubDate>
    <dc:creator>marycordova</dc:creator>
    <dc:date>2019-08-05T21:57:24Z</dc:date>
    <item>
      <title>Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428111#M74991</link>
      <description>&lt;P&gt;I have a multiline event that's being split into multiple events. I've tried LINE_BREAKER, BREAK_ONLY_BEFORE, and BREAK_ONLY_BEFORE_DATE. I've increased the value of TRUNCATE and MAX_EVENTS as well, but it still splits the log into two different events. &lt;/P&gt;

&lt;P&gt;When I try on the UI to add data and input a test file with the same events, it indexes correctly by default. &lt;/P&gt;

&lt;P&gt;Am I missing something here. Why does it show perfectly fine when I add data and input a test file, but when the data is coming from a UF with the same configurations in props.conf, it splits my event?&lt;/P&gt;

&lt;P&gt;EDIT: adding sample event and props.conf file.&lt;/P&gt;

&lt;P&gt;Here is an example of a sample event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TR=2019-08-04 16:28:55,565|[TRACE]|[c.m.e.m.a.MainTracing]|[XNIO-2 task-xxx]| - Request Payload[payment/authorize/v4/authorize]: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;AuthorizeRequest&amp;gt;
&amp;lt;authAction&amp;gt;xxx&amp;lt;/authAction&amp;gt;
&amp;lt;originInfo&amp;gt;
&amp;lt;division&amp;gt;xxx&amp;lt;/division&amp;gt;
&amp;lt;storeNbr&amp;gt;xxx&amp;lt;/storeNbr&amp;gt;
&amp;lt;regNbr&amp;gt;xxx&amp;lt;/regNbr&amp;gt;
&amp;lt;tranNbr&amp;gt;xxx&amp;lt;/tranNbr&amp;gt;
&amp;lt;seqNbr&amp;gt;xxx&amp;lt;/seqNbr&amp;gt;
&amp;lt;origTransDateCCYYMMDD&amp;gt;xxx&amp;lt;/origTransDateCCYYMMDD&amp;gt;
&amp;lt;origTransTimeHHMMSS&amp;gt;xxx&amp;lt;/origTransTimeHHMMSS&amp;gt;&amp;lt;/originInfo&amp;gt;
&amp;lt;tenderType&amp;gt;xxx&amp;lt;/tenderType&amp;gt;
&amp;lt;creditCard&amp;gt;
&amp;lt;acctFormat&amp;gt;xxx&amp;lt;/acctFormat&amp;gt;
&amp;lt;acctNbr&amp;gt;xxx&amp;lt;/acctNbr&amp;gt;
&amp;lt;panLast4&amp;gt;xxx&amp;lt;/panLast4&amp;gt;
&amp;lt;acctLength&amp;gt;xxx&amp;lt;/acctLength&amp;gt;
&amp;lt;aesInfo&amp;gt;
&amp;lt;aesDivision&amp;gt;xxx&amp;lt;/aesDivision&amp;gt;
&amp;lt;aesStoreNbr&amp;gt;xxx&amp;lt;/aesStoreNbr&amp;gt;
&amp;lt;aesKeyVersion&amp;gt;xxx&amp;lt;/aesKeyVersion&amp;gt;&amp;lt;/aesInfo&amp;gt;
&amp;lt;entryMode&amp;gt;xxx&amp;lt;/entryMode&amp;gt;
&amp;lt;propAcctType&amp;gt;xxx&amp;lt;/propAcctType&amp;gt;
&amp;lt;promoCode&amp;gt;xxx&amp;lt;/promoCode&amp;gt;
&amp;lt;propCardDivision&amp;gt;xxx&amp;lt;/propCardDivision&amp;gt;&amp;lt;/creditCard&amp;gt;
&amp;lt;amount&amp;gt;xxx&amp;lt;/amount&amp;gt;
&amp;lt;associateInfo&amp;gt;
&amp;lt;sellingAssociate1&amp;gt;xxx&amp;lt;/sellingAssociate1&amp;gt;
&amp;lt;ringingAssociate&amp;gt;xxx&amp;lt;/ringingAssociate&amp;gt;&amp;lt;/associateInfo&amp;gt;
&amp;lt;terminalInfo&amp;gt;
&amp;lt;pinEntryCapability&amp;gt;xxx&amp;lt;/pinEntryCapability&amp;gt;
&amp;lt;terminalEntryCapability&amp;gt;xxx&amp;lt;/terminalEntryCapability&amp;gt;
&amp;lt;model&amp;gt;xxx&amp;lt;/model&amp;gt;
&amp;lt;applicationName&amp;gt;xxx&amp;lt;/applicationName&amp;gt;
&amp;lt;applicationVersion&amp;gt;xxx&amp;lt;/applicationVersion&amp;gt;&amp;lt;/terminalInfo&amp;gt;
&amp;lt;deptNbr&amp;gt;xxx&amp;lt;/deptNbr&amp;gt;
&amp;lt;customerInfo&amp;gt;
&amp;lt;id&amp;gt;
&amp;lt;idType&amp;gt;xxx&amp;lt;/idType&amp;gt;
&amp;lt;idNbrAesVersion&amp;gt;xxx&amp;lt;/idNbrAesVersion&amp;gt;
&amp;lt;idNbr&amp;gt;xxx&amp;lt;/idNbr&amp;gt;
&amp;lt;idState&amp;gt;xxx&amp;lt;/idState&amp;gt;
&amp;lt;idEntryMode&amp;gt;xxx&amp;lt;/idEntryMode&amp;gt;
&amp;lt;idValidationStatus&amp;gt;xxx&amp;lt;/idValidationStatus&amp;gt;&amp;lt;/id&amp;gt;&amp;lt;/customerInfo&amp;gt;
&amp;lt;cliEnabled&amp;gt;xxx&amp;lt;/cliEnabled&amp;gt;
&amp;lt;clientDataList&amp;gt;
&amp;lt;clientData id="cardholderId"&amp;gt;xxx&amp;lt;/clientData&amp;gt;&amp;lt;/clientDataList&amp;gt;&amp;lt;/AuthorizeRequest&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My event will always be split right after the first AuthorizeRequest in the second line.&lt;/P&gt;

&lt;P&gt;Here is my props.conf stanza:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype]
MAX_TIMESTAMP_LOOKAHEAD = 30
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)TR=
TIME_PREFIX = TR=
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%N
TRUNCATE = 100000
MAX_EVENTS = 100000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428111#M74991</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2020-09-30T01:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428112#M74992</link>
      <description>&lt;P&gt;you needs to post your props.conf config and a sample data set and a sample of the truncated events&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 21:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428112#M74992</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2019-08-05T21:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428113#M74993</link>
      <description>&lt;P&gt;Hi marycordova, &lt;/P&gt;

&lt;P&gt;I've edited my original post to include a sample log and props.conf.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 13:42:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428113#M74993</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-08-06T13:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428114#M74994</link>
      <description>&lt;P&gt;I'd like to emphasize that it works perfectly fine when using the &lt;EM&gt;add data&lt;/EM&gt; feature on Splunk user interface. The logs are split only when they're are coming in from the universal forwarder (with the same configurations in props.conf). &lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 14:13:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428114#M74994</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-08-06T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428115#M74995</link>
      <description>&lt;P&gt;I also tried this configuration:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype]
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE_DATE = true
TIME_PREFIX = TR=
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N
TRUNCATE = 50000
MAX_EVENTS = 200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It still does not work. Am I doing something wrong? Other multiline events are indexing fine. This one seems to be different for some reason.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 16:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428115#M74995</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-08-06T16:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428116#M74996</link>
      <description>&lt;P&gt;Is the props.conf file on the indexers or the UF?  It should be the indexers.  If you have an intermediate HF, put the props.conf there, too.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 19:39:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428116#M74996</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-06T19:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428117#M74997</link>
      <description>&lt;P&gt;The configuration file is on the indexers. There are no intermediate forwarders. I'm starting to think I have to do SEDCMD to remove all the new lines and carriage returns for this to work.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 19:54:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428117#M74997</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-08-06T19:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428118#M74998</link>
      <description>&lt;P&gt;Your settings are correct so it must be something else.  If you are doing a sourcetype override/overwrite, you must use the &lt;EM&gt;ORIGINAL&lt;/EM&gt; value, &lt;EM&gt;NOT&lt;/EM&gt; the new value.  You must deploy your settings to the first full instance(s) of Splunk that handle the events (usually either the HF tier if you use one, or else your Indexer tier), restart all Splunk instances there, send in new events (old events will stay broken), then test using &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; to be absolutely certain that you are only examining the newly indexed events.&lt;/P&gt;

&lt;P&gt;Also, go onto the device that has the logs and do a &lt;CODE&gt;tail -f &amp;lt;path to file and filename here&amp;gt;&lt;/CODE&gt; and watch as events come in.  There may be a long pause at the point Splunk is breaking the event, if so, there are settings that can help, but the right thing to do is force your logging application not to pause like that.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 01:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428118#M74998</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-08T01:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428119#M74999</link>
      <description>&lt;P&gt;check for typos of the sourcetype name in the stanza in props.conf, because it is actually case sensitive in props.conf.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 04:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428119#M74999</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-08-08T04:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428120#M75000</link>
      <description>&lt;P&gt;The long pause might be the problem. What are ways to go about resolving this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 13:46:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428120#M75000</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-08-08T13:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428121#M75001</link>
      <description>&lt;P&gt;See here,&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;BR /&gt;
specifically:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;time_before_close = &amp;lt;integer&amp;gt;
* The amount of time, in seconds, that the file monitor must wait for
  modifications before closing a file after reaching an End-of-File
  (EOF) marker.
* Tells the input not to close files that have been updated in the
  past 'time_before_close' seconds.
* Default: 3.

multiline_event_extra_waittime = &amp;lt;boolean&amp;gt;
* By default, the file monitor sends an event delimiter when:
  * It reaches EOF of a file it monitors and
  * Ihe last character it reads is a newline.
* In some cases, it takes time for all lines of a multiple-line event to
  arrive.
* Set to "true" to delay sending an event delimiter until the time that the
  file monitor closes the file, as defined by the 'time_before_close' setting,
  to allow all event lines to arrive.
* Default: false.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Aug 2019 17:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428121#M75001</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-14T17:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline Event being split into multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428122#M75002</link>
      <description>&lt;P&gt;Thanks woodcock,&lt;/P&gt;

&lt;P&gt;I was speaking with Splunk Support today and made these changes. Your comment was really helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 17:34:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-Event-being-split-into-multiple-events/m-p/428122#M75002</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2019-08-14T17:34:14Z</dc:date>
    </item>
  </channel>
</rss>

