<?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: Why is the multi-line event breaking working inconsistently? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-multi-line-event-breaking-working-inconsistently/m-p/313343#M58731</link>
    <description>&lt;P&gt;What is your props setting now exactly? &lt;BR /&gt;
What happens when you try this:&lt;/P&gt;

&lt;P&gt;[webadm]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
CHARSET=AUTO&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=19&lt;BR /&gt;
disabled=false&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d %H:%M:%S&lt;BR /&gt;
TIME_PREFIX=[&lt;/P&gt;

&lt;P&gt;Also try if adding BREAK_ONLY_BEFORE=[\d{4}-\d\d?-\d\d?\s\d\d?:\d\d?:\d\d?] helps&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:56:09 GMT</pubDate>
    <dc:creator>Azeemering</dc:creator>
    <dc:date>2020-09-29T18:56:09Z</dc:date>
    <item>
      <title>Why is the multi-line event breaking working inconsistently?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-multi-line-event-breaking-working-inconsistently/m-p/313342#M58730</link>
      <description>&lt;P&gt;I'm trying to successfully ingest WebADM logs, a one-time password solution.  The logs are...  a mess.  But the line breaking should be pretty straightforward, but the results are inconsistent.&lt;/P&gt;

&lt;P&gt;This is what a successful login message looks like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|New openotpSimpleLogin SOAP request|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|&amp;gt; Username: admin|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|&amp;gt; Domain: r1|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|&amp;gt; Password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|&amp;gt; Client ID: LDAP|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|&amp;gt; Settings: ChallengeMode=No|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|&amp;gt; Options: -U2F|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Registered openotpSimpleLogin request|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Resolved LDAP user: cn=admin,ou=special,o=r1 (cached)|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Started transaction lock for user|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Found 37 user settings: LoginMode=LDAP,OTPType=TOKEN,OTPLength=6,ChallengeMode=Yes,ChallengeTimeout=90,ChallengeLock=No,ChallengeFake=No,TrustedContext=No,MobileTimeout=30,EnableLogin=Yes,TmpKeys=Yes,HOTPLookAheadWindow=25,TOTPTimeStep=30,TOTPTimeOffsetWindow=120,OCRASuite=OCRA-1:HOTP-SHA1-6:QN06-T1M,SMSType=Normal,SMSMode=Ondemand,MailMode=Ondemand,LastOTPTime=300,ListChallengeMode=ShowID,ReplyDataURL=http://webadm:4000/radius_authorization/authorize?client=10.10.5.20,http://webadm05:4000/radius_authorization/authorize?client=10.10.5.20,http://webadm04:4000/radius_authorization/authorize?client=10.10.5.20,http://webadm02:4000/radius_authorization/authorize?client=10.10.5.20,http://webadm-03301.node.ad3.r1:3000/radius_authorization/authorize?client=10.10.5.20,http://webadm03:4000/radius_authorization/authorize?client=10.10.5.20|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Found 1 request settings: ChallengeMode=No|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Found 2 user data: LoginCount,RejectCount|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Requested login factors: LDAP|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|LDAP password Ok|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Updated user data|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
[2018-04-04 17:17:09] [10.10.10.10] CEF|0|RCDevs|WebADM|1.6.1-1|OpenOTP|Sent success response|1|sid=BKQSK2FC src=10.10.10.10 dst=10.10.10.10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For a failure message, the last line says "Sent failure response" instead.&lt;/P&gt;

&lt;P&gt;I would think something like this should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[webadm]
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE = New openotpSimpleLogin SOAP request
MUST_BREAK_AFTER = Sent failure response|Sent success response
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've tried using only the "BREAK_ONLY_BEFORE" logic.  I've tried including the TIME_FORMAT since I've read that can resolve some line breaking issues.  I've tried replacing the spaces with "\s" regex.&lt;/P&gt;

&lt;P&gt;I'd say the line breaking works about 85% correctly, but the 15% that don't work don't seem to have anything particular in common, such as the host, the WebADM server used, the user name, etc.&lt;/P&gt;

&lt;P&gt;I feel like I'm taking crazy pills here.  I cannot get Splunk to break these events consistently.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-multi-line-event-breaking-working-inconsistently/m-p/313342#M58730</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2020-09-29T18:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the multi-line event breaking working inconsistently?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-multi-line-event-breaking-working-inconsistently/m-p/313343#M58731</link>
      <description>&lt;P&gt;What is your props setting now exactly? &lt;BR /&gt;
What happens when you try this:&lt;/P&gt;

&lt;P&gt;[webadm]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
CHARSET=AUTO&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=19&lt;BR /&gt;
disabled=false&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d %H:%M:%S&lt;BR /&gt;
TIME_PREFIX=[&lt;/P&gt;

&lt;P&gt;Also try if adding BREAK_ONLY_BEFORE=[\d{4}-\d\d?-\d\d?\s\d\d?:\d\d?:\d\d?] helps&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:56:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-multi-line-event-breaking-working-inconsistently/m-p/313343#M58731</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2020-09-29T18:56:09Z</dc:date>
    </item>
  </channel>
</rss>

