<?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: Line breaking odd issue in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694884#M236318</link>
    <description>&lt;P&gt;It doesn't take precedence. &amp;nbsp;It just limits how many lines are allowed in each event. &amp;nbsp;Splunk has a good reason to use 256 as default. &amp;nbsp;I just wish they name the property with better clarity:-) &amp;nbsp;You mentioned that you had 1083 lines. &amp;nbsp;Raise MAX_EVENTS to 2000 for this sourcetype and you should be good. (You made a very astute observation about line count in your events from the very beginning. &amp;nbsp;I wish I had that insight so I wouldn't have been stuck for years.)&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 18:06:24 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2024-07-31T18:06:24Z</dc:date>
    <item>
      <title>Line breaking odd issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694849#M236313</link>
      <description>&lt;P&gt;I'm working with a 9.1.2 UF on Linux.&amp;nbsp; This is the props.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[stanza]
#
# Input-time operation on Forwarders
#
LINE_BREAKER = ([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
TRUNCATE = 999
DATETIME_CONFIG = CURRENT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the contents of the file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Splunk Reporting Hosts as of 07/31/2024 12:05:01 UTC
host
hostname1
hostname2
hostname3
hostname4
...
hostname1081&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are 1,083 lines in the file.&amp;nbsp; I used od -cx to verify there is \n at the end of each line.&amp;nbsp; For some reason, the last entry from a search consists of the first 257 lines from the file, and then the remaining lines are individual entries.&amp;nbsp; I didn't have DATETIME_CONFIG in the stanza, so I thought that might be the issue.&amp;nbsp; It is now, and it is still an issue.&amp;nbsp; I'm out of ideas.&amp;nbsp; Anyone see this before or have an idea on how to resolve this?&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694849#M236313</guid>
      <dc:creator>jwhughes58</dc:creator>
      <dc:date>2024-07-31T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaking odd issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694860#M236315</link>
      <description>&lt;P&gt;I had a similar problem and the answer is in &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf#Line_breaking" target="_blank"&gt;Line breaking&lt;/A&gt;.&amp;nbsp;&amp;nbsp;See &lt;A href="https://community.splunk.com/t5/Getting-Data-In/Why-are-REST-API-receivers-simple-breaks-input-unexpectedly/m-p/690057#M114827" target="_self"&gt;Why are REST API receivers/simple breaks input unexpectedly&lt;/A&gt;&amp;nbsp;in&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/bd-p/getting-data-in" target="_blank"&gt;Getting Data In&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:01:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694860#M236315</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-07-31T17:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaking odd issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694863#M236316</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;So this section of the props.conf spec&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MAX_EVENTS = &amp;lt;integer&amp;gt;
* The maximum number of input lines to add to any event.
* Splunk software breaks after it reads the specified number of lines.
* Default: 256&lt;/LI-CODE&gt;&lt;P&gt;takes precedence over the LINE_BREAKER?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:11:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694863#M236316</guid>
      <dc:creator>jwhughes58</dc:creator>
      <dc:date>2024-07-31T17:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaking odd issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694884#M236318</link>
      <description>&lt;P&gt;It doesn't take precedence. &amp;nbsp;It just limits how many lines are allowed in each event. &amp;nbsp;Splunk has a good reason to use 256 as default. &amp;nbsp;I just wish they name the property with better clarity:-) &amp;nbsp;You mentioned that you had 1083 lines. &amp;nbsp;Raise MAX_EVENTS to 2000 for this sourcetype and you should be good. (You made a very astute observation about line count in your events from the very beginning. &amp;nbsp;I wish I had that insight so I wouldn't have been stuck for years.)&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 18:06:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694884#M236318</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-07-31T18:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaking odd issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694887#M236320</link>
      <description>&lt;P&gt;Wait a second. You're talking about an UF? And those props are where? On the UF or on the idx/HF? Do you use EVENT_BREAKER?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 18:19:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694887#M236320</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-31T18:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Line breaking odd issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694913#M236330</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;That was the issue.&amp;nbsp; I was only pushing to the UF and not the indexers.&amp;nbsp; Sometimes I forget that props.conf has parts that go to the indexer and parts go to the search heads.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 20:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Line-breaking-odd-issue/m-p/694913#M236330</guid>
      <dc:creator>jwhughes58</dc:creator>
      <dc:date>2024-07-31T20:50:12Z</dc:date>
    </item>
  </channel>
</rss>

