<?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: Need to stop the events being Split in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423769#M74413</link>
    <description>&lt;P&gt;I am quite certain that this configuration will work.  It is highly likely that problem is not in the configuration settings but in your delpoyment or testing approach.  Answer these questions.&lt;BR /&gt;
1: Are you overriding/resetting/modifying the sourcetype using a setting in &lt;CODE&gt;transforms.conf&lt;/CODE&gt; and if so, are you using the original sourcetype or the modified one (you &lt;EM&gt;MUST&lt;/EM&gt; use the original one)?&lt;BR /&gt;
2: Have you deployed this &lt;CODE&gt;props.conf&lt;/CODE&gt; file to the FIRST FULL INSTANCE of splunk (e.g. HF/IF or Indexers)?&lt;BR /&gt;
3: Have you restarted all Splunk instances on those nodes?&lt;BR /&gt;
4: Are you using &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; in your search SPL when you test to make sure that you are only looking at newly-indexed events?&lt;/P&gt;</description>
    <pubDate>Sat, 26 Jan 2019 21:47:43 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-01-26T21:47:43Z</dc:date>
    <item>
      <title>Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423762#M74406</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have a scenario where the events should not be split, but after trying a lot of options it still seems to be not working. Its an health check log,&lt;/P&gt;

&lt;P&gt;Sample data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Relay is RUNNING - PID 123123
deal publisher is RUNNING - PID 80345
C ADAPTER is RUNNING - PID 99342
M ADAPTER is RUNNING - PID 662521
SMA is RUNNING - PID 12321321
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I just want all them to be an single event, but it keeps on splitting in different ways.&lt;/P&gt;

&lt;P&gt;In props.config,&lt;BR /&gt;
&lt;CODE&gt;[ehealth]&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
MAX_EVENTS = 5&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I have tried SHOULD_LINEMERGE = true as well, but doesnt seems to be working. I just want no to break and all the 5 lines get indexed as a single event. &lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 12:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423762#M74406</guid>
      <dc:creator>ashrafshareeb</dc:creator>
      <dc:date>2019-01-24T12:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423763#M74407</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;if you set SHOULD_LINEMERGE=true you need another option&lt;/P&gt;

&lt;P&gt;refer to this:&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/7.1.3/Data/Configureeventlinebreaking#Attributes_that_apply_only_when_the_SHOULD_LINEMERGE_setting_is_true" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/7.1.3/Data/Configureeventlinebreaking#Attributes_that_apply_only_when_the_SHOULD_LINEMERGE_setting_is_true&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;you could set &lt;CODE&gt;BREAK_ONLY_BEFORE = ^Relay&lt;/CODE&gt;. If you know that your events always start like this&lt;/P&gt;

&lt;P&gt;Tested it in splunk data upload, and I actually have the problem that splunk is not splitting the events until "BREAK_ONLY_BEFORE = ^Relay" is set. Not that some other conf is messing with your settings.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:55:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423763#M74407</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2020-09-29T22:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423764#M74408</link>
      <description>&lt;P&gt;Hi dkeck,&lt;/P&gt;

&lt;P&gt;Thanks for the response.&lt;/P&gt;

&lt;P&gt;I have tried the below props.conf and still its not working, the events are getting split differently each time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE = ^Relay
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The events start with Relay as shown in the sample, I have tried adding TRUNCATE=0 and MAX_EVENTS = 5 along with the above configs  but doesn't make any difference&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 14:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423764#M74408</guid>
      <dc:creator>ashrafshareeb</dc:creator>
      <dc:date>2019-01-24T14:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423765#M74409</link>
      <description>&lt;P&gt;Did you restart after you changed props?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 15:05:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423765#M74409</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-24T15:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423766#M74410</link>
      <description>&lt;P&gt;Apologies for late reply, I have restarted after the props.conf changes still no luck.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 16:24:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423766#M74410</guid>
      <dc:creator>ashrafshareeb</dc:creator>
      <dc:date>2019-01-25T16:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423767#M74411</link>
      <description>&lt;P&gt;Use this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ehealth]
LINE_BREAKER = (?!)
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2019 16:41:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423767#M74411</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-25T16:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423768#M74412</link>
      <description>&lt;P&gt;It has split all the 5 lines to single events. I want all the 5 lines to be a single event and not split at all&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 19:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423768#M74412</guid>
      <dc:creator>ashrafshareeb</dc:creator>
      <dc:date>2019-01-26T19:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423769#M74413</link>
      <description>&lt;P&gt;I am quite certain that this configuration will work.  It is highly likely that problem is not in the configuration settings but in your delpoyment or testing approach.  Answer these questions.&lt;BR /&gt;
1: Are you overriding/resetting/modifying the sourcetype using a setting in &lt;CODE&gt;transforms.conf&lt;/CODE&gt; and if so, are you using the original sourcetype or the modified one (you &lt;EM&gt;MUST&lt;/EM&gt; use the original one)?&lt;BR /&gt;
2: Have you deployed this &lt;CODE&gt;props.conf&lt;/CODE&gt; file to the FIRST FULL INSTANCE of splunk (e.g. HF/IF or Indexers)?&lt;BR /&gt;
3: Have you restarted all Splunk instances on those nodes?&lt;BR /&gt;
4: Are you using &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; in your search SPL when you test to make sure that you are only looking at newly-indexed events?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 21:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423769#M74413</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-26T21:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423770#M74414</link>
      <description>&lt;P&gt;It's a distributed setup with 2 SH and 4 IDX&lt;BR /&gt;
1. No transforms.conf&lt;BR /&gt;
2. I have deployed it in the indexers through the deployment server&lt;BR /&gt;
3. Yes, I have restarted all the splunk instances&lt;BR /&gt;
4. I'm using last 15 min in the search time range picker.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 11:23:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423770#M74414</guid>
      <dc:creator>ashrafshareeb</dc:creator>
      <dc:date>2019-01-28T11:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423771#M74415</link>
      <description>&lt;P&gt;#4 is totally inadequate.  You should use &lt;CODE&gt;All time&lt;/CODE&gt; and &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt;.  Most people do not have their events timestamped correctly.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 18:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423771#M74415</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-28T18:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423772#M74416</link>
      <description>&lt;P&gt;I have tried with &lt;CODE&gt;All time&lt;/CODE&gt; and &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; but still the same result. 5 lines in the above sample is getting split into 5 different events (with same time stamp). All those 5 lines should be a single event and not split at all&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 11:32:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423772#M74416</guid>
      <dc:creator>ashrafshareeb</dc:creator>
      <dc:date>2019-01-29T11:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423773#M74417</link>
      <description>&lt;P&gt;Are you doing a &lt;CODE&gt;sourcetype&lt;/CODE&gt; override?  If so, you need to use the &lt;EM&gt;original&lt;/EM&gt; &lt;CODE&gt;sourcetype&lt;/CODE&gt; value, not the new &lt;CODE&gt;ehealth&lt;/CODE&gt; value.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 16:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423773#M74417</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-29T16:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stop the events being Split</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423774#M74418</link>
      <description>&lt;P&gt;just an update on this issue(just in case anyone has the same issue) the events were being written in the log file with a delay, by default the time_before_close is 3 seconds. I had to change this to 5 seconds and also also set the multiline_event_extra_waittime=true in inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;time_before_close = 5
multiline_event_extra_waittime = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From Splunk documentation on these parameters,&lt;BR /&gt;
&lt;CODE&gt;time_before_close = &amp;lt;integer&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
    * Modtime delta required before Splunk can close a file on EOF.&lt;BR /&gt;
    * Tells the system not to close files that have been updated in past &lt;INTEGER&gt;&lt;BR /&gt;
  seconds.&lt;BR /&gt;
    * Defaults to 3.&lt;/INTEGER&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;multiline_event_extra_waittime = [true|false]&lt;/CODE&gt;&lt;BR /&gt;
    *By default, Splunk Enterprise sends an event delimiter when (1) it reaches EOF of a file it monitors and (2) the last char it reads is a newline.&lt;BR /&gt;
    *In some cases, it takes time for all lines of a multiple-line event to arrive.&lt;BR /&gt;
    *Set to true to delay sending an event delimiter until the time that Splunk Enterprise closes the file, as defined by the time_before_close attribute, to allow all event lines to arrive.&lt;BR /&gt;
    *Default to false.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:19:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-to-stop-the-events-being-Split/m-p/423774#M74418</guid>
      <dc:creator>ashrafshareeb</dc:creator>
      <dc:date>2020-09-29T23:19:27Z</dc:date>
    </item>
  </channel>
</rss>

