<?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 Issue with event Line Breaking in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Issue-with-event-Line-Breaking/m-p/686188#M19284</link>
    <description>&lt;P&gt;Hi Splunkers, I have an inssue with a line breaking use case. I know it is very simple to fix, but I still have the problem, so there is something I'm not getting in the right way.&amp;nbsp;&lt;BR /&gt;First, a little bit of info about env.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Log source: custom application&lt;/LI&gt;&lt;LI&gt;Input type: File monitor Input&lt;/LI&gt;&lt;LI&gt;File monitoring: via UF, so a deployed app has been deployed with a DS&lt;/LI&gt;&lt;LI&gt;Final flow: Log Source with UF -&amp;gt; HF -&amp;gt; Splunk Cloud&lt;/LI&gt;&lt;LI&gt;Data are ingested? Yes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Issue: once log are collected, we got a unique big log. So, we need to separate logs in different events. So I thought: Ok fine, I did a lot of custom addon, I know how do do it. By the way, I did not performed initial configuration about UF, so I check related deployed app and logs . That's the summary:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Single event ends with&amp;nbsp;&lt;STRONG&gt;"platform":"ArcodaSAT"}&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;UF deployed app is very simple: it has an app.conf, an inputs,.conf and a props.conf.&lt;/LI&gt;&lt;LI&gt;inputs.conf file works fine due logs are ingested from the right source&lt;/LI&gt;&lt;LI&gt;Below, settings in I found in props.conf:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;[&amp;lt;sourcetype_name&amp;gt;]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CHARSET=AUTO&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LINE_BREAKER = (\"platform\"\:\"ArcodaSAT\"\})&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SHOULD_LINEMERGE = true&lt;/P&gt;&lt;P&gt;Observation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regex is fine; I tested it on regex101 with a log sample and it catch fine.&lt;/LI&gt;&lt;LI&gt;I tried, in the LINE_BREAKER, both using round brackets - cause documentation say that parameter use the capture group to check where new log starts - and without. Same result.&lt;/LI&gt;&lt;LI&gt;SHOULD_LINEMERGE has be set both as true and false: same result&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Let me say again: &lt;SPAN&gt;I know this is some nonsense I'm missing, but I can't find it.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2024 15:36:12 GMT</pubDate>
    <dc:creator>SplunkExplorer</dc:creator>
    <dc:date>2024-05-02T15:36:12Z</dc:date>
    <item>
      <title>Issue with event Line Breaking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Issue-with-event-Line-Breaking/m-p/686188#M19284</link>
      <description>&lt;P&gt;Hi Splunkers, I have an inssue with a line breaking use case. I know it is very simple to fix, but I still have the problem, so there is something I'm not getting in the right way.&amp;nbsp;&lt;BR /&gt;First, a little bit of info about env.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Log source: custom application&lt;/LI&gt;&lt;LI&gt;Input type: File monitor Input&lt;/LI&gt;&lt;LI&gt;File monitoring: via UF, so a deployed app has been deployed with a DS&lt;/LI&gt;&lt;LI&gt;Final flow: Log Source with UF -&amp;gt; HF -&amp;gt; Splunk Cloud&lt;/LI&gt;&lt;LI&gt;Data are ingested? Yes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Issue: once log are collected, we got a unique big log. So, we need to separate logs in different events. So I thought: Ok fine, I did a lot of custom addon, I know how do do it. By the way, I did not performed initial configuration about UF, so I check related deployed app and logs . That's the summary:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Single event ends with&amp;nbsp;&lt;STRONG&gt;"platform":"ArcodaSAT"}&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;UF deployed app is very simple: it has an app.conf, an inputs,.conf and a props.conf.&lt;/LI&gt;&lt;LI&gt;inputs.conf file works fine due logs are ingested from the right source&lt;/LI&gt;&lt;LI&gt;Below, settings in I found in props.conf:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;[&amp;lt;sourcetype_name&amp;gt;]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CHARSET=AUTO&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LINE_BREAKER = (\"platform\"\:\"ArcodaSAT\"\})&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SHOULD_LINEMERGE = true&lt;/P&gt;&lt;P&gt;Observation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regex is fine; I tested it on regex101 with a log sample and it catch fine.&lt;/LI&gt;&lt;LI&gt;I tried, in the LINE_BREAKER, both using round brackets - cause documentation say that parameter use the capture group to check where new log starts - and without. Same result.&lt;/LI&gt;&lt;LI&gt;SHOULD_LINEMERGE has be set both as true and false: same result&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Let me say again: &lt;SPAN&gt;I know this is some nonsense I'm missing, but I can't find it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 15:36:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Issue-with-event-Line-Breaking/m-p/686188#M19284</guid>
      <dc:creator>SplunkExplorer</dc:creator>
      <dc:date>2024-05-02T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with event Line Breaking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Issue-with-event-Line-Breaking/m-p/686210#M19291</link>
      <description>&lt;P&gt;The props.conf file should be on the machine that is parsing your logs. If your log path is UF-&amp;gt;HF-&amp;gt;Cloud, then likely the HF machine is the one doing the parsing, and it should have the props.conf file, not the UF.&lt;/P&gt;&lt;P&gt;Also, keep in mind that the first capture group of LINE_BREAKER is discarded. It is intended to capture the filler characters that occur between distinct events. If you would like to keep "platform":"ArcodaSAT"} as part of the first event, then it should not be in a capture group. Try this:&lt;/P&gt;&lt;P&gt;LINE_BREAKER = \"platform\"\:\"ArcodaSAT\"\}()&lt;/P&gt;&lt;P&gt;For SHOULD_LINEMERGE, this would be better set as FALSE unless you would like events to be recombined to make bigger events. If your LINE_BREAKER above works well to separate distinct events, then SHOULD_LINEMERGE should be false&lt;/P&gt;&lt;P&gt;SHOULD_LINEMERGE = false&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 18:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Issue-with-event-Line-Breaking/m-p/686210#M19291</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-05-02T18:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with event Line Breaking</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Issue-with-event-Line-Breaking/m-p/686213#M19292</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;LINE_BREAKER&lt;/FONT&gt; attribute requires at least one capture group and the text that matches the first capture group will be discarded and replaced with a event break.&amp;nbsp; Knowing this and that an empty capture group is allowed, try these settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[&amp;lt;sourcetype_name&amp;gt;]
CHARSET=AUTO
LINE_BREAKER = "platform":"ArcodaSAT"\}()
SHOULD_LINEMERGE = false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 18:31:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Issue-with-event-Line-Breaking/m-p/686213#M19292</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-05-02T18:31:14Z</dc:date>
    </item>
  </channel>
</rss>

