<?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 break help with incoming log data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423015#M74275</link>
    <description>&lt;P&gt;This should do the trick:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)\&amp;gt;\w+\s+\w+\s+\d+
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Make sure to remove any other settings related to breaking (this can be a bit tricky in the GUI sometimes as BREAK_ONLY_BEFORE keeps popping up)&lt;/P&gt;

&lt;P&gt;Note: probably &lt;CODE&gt;LINE_BREAKER = ([\r\n]+)\&amp;gt;&lt;/CODE&gt; would also be sufficient, but making it a bit more specific like I did above prevents the linebreaker triggering on other occurences of &lt;CODE&gt;&amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:56:11 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2020-09-30T00:56:11Z</dc:date>
    <item>
      <title>Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423014#M74274</link>
      <description>&lt;P&gt;New data source we're bringing in from an application. Default line breaking not working correct. All of these entries are in a single event, which should be 8 events. Every new events starts with a "&amp;gt;" character in the 1st position. I cannot figure out what to enter in the Add Data area of the GUI for line breaks / new events. Any help would be great. Thank You! &lt;/P&gt;

&lt;P&gt;EXAMPLE (currently 1 event, should be 8):&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&amp;gt;Informational   June 14, 2019 8:09:59 AM CDT&lt;/LI&gt;
&lt;LI&gt;Transaction "Blah Blah": Job ended&lt;/LI&gt;
&lt;LI&gt;&amp;gt;Debug   June 14, 2019 8:10:00 AM CDT&lt;/LI&gt;
&lt;LI&gt;Transaction "Blah Blah": Directory changed to /&lt;/LI&gt;
&lt;LI&gt;&amp;gt;Debug   June 14, 2019 8:10:00 AM CDT&lt;/LI&gt;
&lt;LI&gt;Transaction "Blah Blah": Filtered directory listing for Directory: /&lt;/LI&gt;
&lt;LI&gt;&amp;gt;Informational   June 14, 2019 8:10:00 AM CDT&lt;/LI&gt;
&lt;LI&gt;Transaction "Blah Blah": Added to the pending run queue&lt;/LI&gt;
&lt;LI&gt;&amp;gt;Informational   June 14, 2019 8:10:00 AM CDT&lt;/LI&gt;
&lt;LI&gt;Transaction "Blah Blah": Timer created for  CDTto repeat every 4 hours&lt;/LI&gt;
&lt;LI&gt;&amp;gt;Informational  June 14, 2019 8:10:00 AM CDT&lt;/LI&gt;
&lt;LI&gt;Transaction "Blah Blah": File moved: \secret.seq&lt;/LI&gt;
&lt;LI&gt;&amp;gt;Informational  June 14, 2019 8:10:00 AM CDT&lt;/LI&gt;
&lt;LI&gt;Transaction "Blah Blah": The size of the destination file secret.seq was successfully verified&lt;/LI&gt;
&lt;LI&gt;&amp;gt;Debug  June 14, 2019 8:10:00 AM CDT&lt;/LI&gt;
&lt;LI&gt;Transaction "Blah Blah": Primary archiving skipped&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 14 Jun 2019 14:13:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423014#M74274</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2019-06-14T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423015#M74275</link>
      <description>&lt;P&gt;This should do the trick:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)\&amp;gt;\w+\s+\w+\s+\d+
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Make sure to remove any other settings related to breaking (this can be a bit tricky in the GUI sometimes as BREAK_ONLY_BEFORE keeps popping up)&lt;/P&gt;

&lt;P&gt;Note: probably &lt;CODE&gt;LINE_BREAKER = ([\r\n]+)\&amp;gt;&lt;/CODE&gt; would also be sufficient, but making it a bit more specific like I did above prevents the linebreaker triggering on other occurences of &lt;CODE&gt;&amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:56:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423015#M74275</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2020-09-30T00:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423016#M74276</link>
      <description>&lt;P&gt;Hi joesrepsolc,&lt;BR /&gt;
if I correctly understood: you have a data flow like the one you showed and you want to ingest it by UI, correct?&lt;/P&gt;

&lt;P&gt;I suggest to follow the documentation at &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Data/Getstartedwithgettingdatain" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/Data/Getstartedwithgettingdatain&lt;/A&gt; to better understand hot to get data in Splunk.&lt;BR /&gt;
Anyway, you have to create a custom props.conf and put it in your Indexers to correctly parse your flow.&lt;/P&gt;

&lt;P&gt;If your sourcetype is "my_sourcetype", in your props.conf you have&lt;BR /&gt;
    [my_sourcetype]&lt;BR /&gt;
    SHOULD_LINEMERGE = True&lt;BR /&gt;
    LINE_BREAKER = ^&amp;gt;&lt;BR /&gt;
    TIME_PREFIX = ?&amp;gt;\w+\s&lt;BR /&gt;
    TIME_FORMAT = %B %d,%Y %H:%M:%S %p %Z&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:55:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423016#M74276</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T00:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423017#M74277</link>
      <description>&lt;P&gt;LINE_BREAKER must always contain a capturing group (and I'm not sure whether using ^ even makes sense) and when using LINE_BREAKER you must set SHOULD_LINEMERGE = false.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:56:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423017#M74277</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2020-09-30T00:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423018#M74278</link>
      <description>&lt;P&gt;You need these settings in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;Your Sourcetype Here&amp;gt;]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+\&amp;gt;)
TIME_PREFIX = ^\w+\s
TIME_FORMAT = %B %d,%Y %H:%M:%S %p %Z
MAX_TIMESTAMP_LOOKAHEAD = 34
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Make sure that if you are doing a sourcetype-override/overwrite, that you use THE ORIGINAL SOURCETYPE VALUE, deploy this to the first full-instance of splunk that handles the events (usually HF or Indexer tier), restart all splunk instances there, forward in NEW events (old events will stay broken), verify function by adding &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; to your search to make sure that you are only looking at newly-indexed events.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2019 22:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423018#M74278</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-06-16T22:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423019#M74279</link>
      <description>&lt;P&gt;This worked great! Man, I really got to put the time in on regex and understand these ingestion settings in props.conf. &lt;/P&gt;

&lt;P&gt;Datasets have been very well formatted/predefined sourcetypes lately. Out of practice. &lt;/P&gt;

&lt;P&gt;So appreciate the help everyone. &lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 03:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423019#M74279</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2019-06-19T03:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423020#M74280</link>
      <description>&lt;P&gt;Thank you for the full props.conf. I need to understand all these settings better and know when to use them to successfully ingest data.  &lt;/P&gt;

&lt;P&gt;Thank you again guys!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 03:59:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423020#M74280</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2019-06-19T03:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423021#M74281</link>
      <description>&lt;P&gt;how to you get the lines in your comments/responses to start with 1., 2., 3. etc on the splunk answers site? I've tried several methods... I must be missing something.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 04:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423021#M74281</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2019-06-19T04:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423022#M74282</link>
      <description>&lt;P&gt;Select the text (make sure there is a blank line before it) and then press the &lt;CODE&gt;1010101&lt;/CODE&gt; button in the editor's toolbar.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 06:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423022#M74282</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-06-19T06:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423023#M74283</link>
      <description>&lt;P&gt;THANK YOU.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 15:31:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423023#M74283</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2019-06-19T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Line break help with incoming log data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423024#M74284</link>
      <description>&lt;P&gt;My solution is far more efficient as it takes less than half as long as using the &lt;CODE&gt;BREAK_*&lt;/CODE&gt; settings.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 22:53:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-break-help-with-incoming-log-data/m-p/423024#M74284</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-06-20T22:53:17Z</dc:date>
    </item>
  </channel>
</rss>

