<?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 Multiline FTP log in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-FTP-log/m-p/118268#M24558</link>
    <description>&lt;P&gt;I've got windows FTP logs that are multiline that look like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;00:00:10 127.0.0.1  [57708]USER 123456 331 0 0 0 0 FTP
00:00:11 127.0.0.1  [57708]PASS - 230 0 0 0 1078 FTP
00:00:11 127.0.0.1  [57708]created /test.txt 226 0 0 11051 94 FTP
00:00:11 127.0.0.1  [57708]QUIT - 226 0 0 0 0 FTP
00:00:57 127.0.0.1  [57728]USER 123456 331 0 0 0 0 FTP
00:00:58 127.0.0.1  [57728]PASS - 230 0 0 0 1532 FTP
00:00:58 127.0.0.1  [57728]CWD inbox 250 0 0 0 0 FTP
00:00:58 127.0.0.1  [57728]CWD ~ 250 0 0 0 0 FTP
00:00:59 127.0.0.1  [57728]CWD / 250 0 0 0 16 FTP
00:00:59 127.0.0.1  [57728]QUIT - 250 0 0 0 0 FTP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the bracketed number is like the session ID so i want to group all of those as 1 event.  I tried linebreaking my props.conf with the following but it doesn't seem to be working.  It's indexing around 200 lines (multiple session IDs) as one event.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype]
SHOULD_LINEMERGE = True
BREAK_ONLY_BEFORE = (\d\d:\d\d:\d\d .* \w\[\d+\]USER)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 03 Feb 2015 15:57:11 GMT</pubDate>
    <dc:creator>ngvella</dc:creator>
    <dc:date>2015-02-03T15:57:11Z</dc:date>
    <item>
      <title>Multiline FTP log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-FTP-log/m-p/118268#M24558</link>
      <description>&lt;P&gt;I've got windows FTP logs that are multiline that look like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;00:00:10 127.0.0.1  [57708]USER 123456 331 0 0 0 0 FTP
00:00:11 127.0.0.1  [57708]PASS - 230 0 0 0 1078 FTP
00:00:11 127.0.0.1  [57708]created /test.txt 226 0 0 11051 94 FTP
00:00:11 127.0.0.1  [57708]QUIT - 226 0 0 0 0 FTP
00:00:57 127.0.0.1  [57728]USER 123456 331 0 0 0 0 FTP
00:00:58 127.0.0.1  [57728]PASS - 230 0 0 0 1532 FTP
00:00:58 127.0.0.1  [57728]CWD inbox 250 0 0 0 0 FTP
00:00:58 127.0.0.1  [57728]CWD ~ 250 0 0 0 0 FTP
00:00:59 127.0.0.1  [57728]CWD / 250 0 0 0 16 FTP
00:00:59 127.0.0.1  [57728]QUIT - 250 0 0 0 0 FTP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the bracketed number is like the session ID so i want to group all of those as 1 event.  I tried linebreaking my props.conf with the following but it doesn't seem to be working.  It's indexing around 200 lines (multiple session IDs) as one event.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype]
SHOULD_LINEMERGE = True
BREAK_ONLY_BEFORE = (\d\d:\d\d:\d\d .* \w\[\d+\]USER)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Feb 2015 15:57:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-FTP-log/m-p/118268#M24558</guid>
      <dc:creator>ngvella</dc:creator>
      <dc:date>2015-02-03T15:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline FTP log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-FTP-log/m-p/118269#M24559</link>
      <description>&lt;P&gt;The &lt;CODE&gt;\w&lt;/CODE&gt; in the BREAK_ONLY_BEFORE line appears to be causing matches to fail.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-FTP-log/m-p/118269#M24559</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-28T18:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline FTP log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-FTP-log/m-p/118270#M24560</link>
      <description>&lt;P&gt;Yeah i tested the regex out and it was definitely wrong, but i changed it to remove the \w and it's still indexing 257 lines per event.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 18:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-FTP-log/m-p/118270#M24560</guid>
      <dc:creator>ngvella</dc:creator>
      <dc:date>2015-02-03T18:14:20Z</dc:date>
    </item>
  </channel>
</rss>

