<?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_BREAKER for input on an universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198980#M39426</link>
    <description>&lt;P&gt;Two things,&lt;/P&gt;

&lt;P&gt;Does your regex match? I should recommend that you escape the opening square bracket, as it has special meaning in regex, like so;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[xXx]
BREAK_ONLY_BEFORE = Event\[
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;SHOULD_LINEMERGE = true&lt;/CODE&gt; is a default setting, so it is not strictly needed.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;NO_BINARY_CHECK = 1&lt;/CODE&gt; is only relevant in the input phase, so keep it there if your indexer is reading the files locally. If they're coming from a forwarder, this setting is ignored. But it won't hurt anything.&lt;/P&gt;

&lt;P&gt;Alternatively:&lt;/P&gt;

&lt;P&gt;Do you have the same &lt;CODE&gt;[xXx]&lt;/CODE&gt; stanza configured anywhere with the BREAK_ONLY_BEFORE parameter set in a props.conf file that has higher precedence?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/etc/system/local
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;beats&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/etc/apps/app_name/local
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which in turn beats&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/etc/system/default
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See the docs on configuration file precedence;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Admin/Wheretofindtheconfigurationfiles" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.1/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:37:11 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2020-09-28T15:37:11Z</dc:date>
    <item>
      <title>LINE_BREAKER for input on an universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198977#M39423</link>
      <description>&lt;P&gt;I have a few universal forwarders which tail a folder structure. They send the data to a indexer where also a searchhead is enabled.&lt;/P&gt;

&lt;P&gt;I need to specify in props.conf a linebreaker like so&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[xXx] &lt;BR /&gt;
BREAK_ONLY_BEFORE = Event[&lt;BR /&gt;
NO_BINARY_CHECK = 1 SHOULD_LINEMERGE =&lt;BR /&gt;
true&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I am confused as to where i have to specify this meaning in what place i have to add it to a props.conf.&lt;/P&gt;

&lt;P&gt;Not on the universal forwarder i gather... but where on the indexer? in $splunkhome$/etc/apps/Splunk/Forwarder ???&lt;/P&gt;

&lt;P&gt;To contain all the configuration items for that source/usergroup i created an app and placed this snipped in the apps' /local/props.conf but it fails to separate the events by the string and insted opts for the default which is the timestamp roughly two lines below. (hint: the source is a  windows eventlog export that is stripped from the xml for readibility, we feed end user workstations' eventlogs to splunk via a custom store-and-forward mechanism)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198977#M39423</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2020-09-28T15:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: LINE_BREAKER for input on an universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198978#M39424</link>
      <description>&lt;P&gt;Under any app, in the local folder for example. Like:&lt;BR /&gt;
$splunkhome$/etc/apps/search/local&lt;/P&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;P&gt;$splunkhome$/etc/apps/myapp/local&lt;/P&gt;

&lt;P&gt;It will work anyway&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 16:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198978#M39424</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2014-01-09T16:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: LINE_BREAKER for input on an universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198979#M39425</link>
      <description>&lt;P&gt;cool. that is what i did... why doesn't it work? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 16:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198979#M39425</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2014-01-09T16:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: LINE_BREAKER for input on an universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198980#M39426</link>
      <description>&lt;P&gt;Two things,&lt;/P&gt;

&lt;P&gt;Does your regex match? I should recommend that you escape the opening square bracket, as it has special meaning in regex, like so;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[xXx]
BREAK_ONLY_BEFORE = Event\[
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;SHOULD_LINEMERGE = true&lt;/CODE&gt; is a default setting, so it is not strictly needed.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;NO_BINARY_CHECK = 1&lt;/CODE&gt; is only relevant in the input phase, so keep it there if your indexer is reading the files locally. If they're coming from a forwarder, this setting is ignored. But it won't hurt anything.&lt;/P&gt;

&lt;P&gt;Alternatively:&lt;/P&gt;

&lt;P&gt;Do you have the same &lt;CODE&gt;[xXx]&lt;/CODE&gt; stanza configured anywhere with the BREAK_ONLY_BEFORE parameter set in a props.conf file that has higher precedence?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/etc/system/local
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;beats&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/etc/apps/app_name/local
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which in turn beats&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/etc/system/default
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See the docs on configuration file precedence;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Admin/Wheretofindtheconfigurationfiles" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.1/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198980#M39426</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2020-09-28T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: LINE_BREAKER for input on an universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198981#M39427</link>
      <description>&lt;P&gt;for now i get very few logs (once per day a few events) till we ramp up so testing has been difficult. It would seem that the last change took a while to have effect. The last change was placing the props.conf into the custom app on the indexer. It should have worked before but perhaps it was just bad timing... ??? will continue to watch it. Thanks for the reply anyway.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2014 10:01:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/LINE-BREAKER-for-input-on-an-universal-forwarder/m-p/198981#M39427</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2014-01-10T10:01:30Z</dc:date>
    </item>
  </channel>
</rss>

