<?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: Event does not break right in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698083#M115756</link>
    <description>&lt;P&gt;Yes, but as I understand, that's not the issue. If you copy the same contents several times over into a single file and upload it to Splunk via "add data" dialog with the settings &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/268712"&gt;@jesperbassoe&lt;/a&gt; provided, it does get properly split into separate events. True, the final timestamp is getting discarded as it is treated as a linebreaker but apart from that the stream is properly broken into events.&lt;/P&gt;&lt;P&gt;The screenshot however shows the event butchered into separate parts which doesn't really match the LINE_BREAKER definition. So the questions are:&lt;/P&gt;&lt;P&gt;1) Where are the settings defined (on which components; and are there any other conflicting and possibly overriding settings)?&lt;/P&gt;&lt;P&gt;2) How is the file ingested (most probably by monitor input on an UF)?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 14:44:25 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-09-03T14:44:25Z</dc:date>
    <item>
      <title>Event does not break right</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698065#M115754</link>
      <description>&lt;P&gt;Hi folks..&lt;/P&gt;&lt;P&gt;I have an issue where I can't get an event to break right.&lt;/P&gt;&lt;P&gt;The event looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; ************************************
 2024.09.03.141001
 ************************************
 sqlplus -S -L swiftfilter/_REMOVED_@PPP @"long_lock_alert.sql"

TAG		  COUNT(*)
--------------- ----------
PPP_locks_count 	 0


TAG		  COUNT(*)
--------------- ----------
PPP_locks_count 	 0

 SUCCESS
 End Time: 2024.09.03.141006&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Props looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[nk_pp_tasks]
SHOULD_LINEMERGE=false
LINE_BREAKER=End Time([^\*]+)
NO_BINARY_CHECK=true
TIME_FORMAT=%Y.%m.%d.%H%M%S
TIME_PREFIX=^.+[\r\n]\s
BREAK_ONLY_BEFORE_DATE = false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Outcome is this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jesperbassoe_0-1725365910422.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32490i0F5BCA4666569A4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jesperbassoe_0-1725365910422.png" alt="jesperbassoe_0-1725365910422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the logfile is imported through 'Add Data' everything looks fine and the event has not been broken up in 3.&lt;/P&gt;&lt;P&gt;Any idees on how to make Splunk not break up the event ?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 12:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698065#M115754</guid>
      <dc:creator>jesperbassoe</dc:creator>
      <dc:date>2024-09-03T12:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Event does not break right</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698082#M115755</link>
      <description>&lt;P&gt;The existing props are discarding the End Time value because of the &lt;FONT face="courier new,courier"&gt;LINE_BREAKER&lt;/FONT&gt; setting.&amp;nbsp; &lt;FONT face="courier new,courier"&gt;LINE_BREAKER&lt;/FONT&gt; always throws out the text that matches the first capture group.&lt;/P&gt;&lt;P&gt;Try these settings.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[nk_pp_tasks]
SHOULD_LINEMERGE=false
LINE_BREAKER=End Time:[^\*]+?()
NO_BINARY_CHECK=true
TIME_FORMAT=%Y.%m.%d.%H%M%S
TIME_PREFIX=\*\*+
BREAK_ONLY_BEFORE_DATE = false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 14:25:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698082#M115755</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-09-03T14:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Event does not break right</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698083#M115756</link>
      <description>&lt;P&gt;Yes, but as I understand, that's not the issue. If you copy the same contents several times over into a single file and upload it to Splunk via "add data" dialog with the settings &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/268712"&gt;@jesperbassoe&lt;/a&gt; provided, it does get properly split into separate events. True, the final timestamp is getting discarded as it is treated as a linebreaker but apart from that the stream is properly broken into events.&lt;/P&gt;&lt;P&gt;The screenshot however shows the event butchered into separate parts which doesn't really match the LINE_BREAKER definition. So the questions are:&lt;/P&gt;&lt;P&gt;1) Where are the settings defined (on which components; and are there any other conflicting and possibly overriding settings)?&lt;/P&gt;&lt;P&gt;2) How is the file ingested (most probably by monitor input on an UF)?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 14:44:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698083#M115756</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-09-03T14:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Event does not break right</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698164#M115763</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;You're right. Discarding End Time was a last desperate attempt to see if that made any difference&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;Settings are defined on indexers.&lt;/P&gt;&lt;P&gt;This is a btool output from one of the indexers :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[nk_pp_tasks]
ADD_EXTRA_TIME_FIELDS = True
ANNOTATE_PUNCT = True
AUTO_KV_JSON = true
BREAK_ONLY_BEFORE =
BREAK_ONLY_BEFORE_DATE = false
CHARSET = UTF-8
DATETIME_CONFIG = /etc/datetime.xml
DEPTH_LIMIT = 1000
DETERMINE_TIMESTAMP_DATE_WITH_SYSTEM_TIME = false
HEADER_MODE =
LB_CHUNK_BREAKER_TRUNCATE = 2000000
LEARN_MODEL = true
LEARN_SOURCETYPE = true
LINE_BREAKER = End Time([^\*]+)
LINE_BREAKER_LOOKBEHIND = 300
MATCH_LIMIT = 100000
MAX_DAYS_AGO = 2000
MAX_DAYS_HENCE = 2
MAX_DIFF_SECS_AGO = 3600
MAX_DIFF_SECS_HENCE = 604800
MAX_EVENTS = 256
MAX_TIMESTAMP_LOOKAHEAD = 128
MUST_BREAK_AFTER =
MUST_NOT_BREAK_AFTER =
MUST_NOT_BREAK_BEFORE =
NO_BINARY_CHECK = true
SEGMENTATION = indexing
SEGMENTATION-all = full
SEGMENTATION-inner = inner
SEGMENTATION-outer = outer
SEGMENTATION-raw = none
SEGMENTATION-standard = standard
SHOULD_LINEMERGE = false
TIME_FORMAT = %Y.%m.%d.%H%M%S
TIME_PREFIX = ^.+[\r\n]\s
TRANSFORMS =
TRUNCATE = 10000
detect_trailing_nulls = false
maxDist = 100
priority =
sourcetype =
termFrequencyWeightedDist = false
unarchive_cmd_start_mode = shell&lt;/LI-CODE&gt;&lt;P&gt;And file is ingested by monitor input on an UF and delivered directly to the indexers..&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 04:26:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698164#M115763</guid>
      <dc:creator>jesperbassoe</dc:creator>
      <dc:date>2024-09-04T04:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Event does not break right</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698599#M115806</link>
      <description>&lt;P&gt;So it turns out the SQL doesn't write the entire event at once and Splunk therefore only reads part of the event.&lt;/P&gt;
&lt;P&gt;It worked in our TEST because I dumped the log file and therefore the entire events were there.&lt;/P&gt;
&lt;P&gt;The solution was :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;multiline_event_extra_waittime = true
time_before_close = 10&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-does-not-break-right/m-p/698599#M115806</guid>
      <dc:creator>jesperbassoe</dc:creator>
      <dc:date>2024-09-10T14:06:52Z</dc:date>
    </item>
  </channel>
</rss>

