title: what is the regexp pattern for multiline (logstash)
body: <p>Currently I have:</p>
  
  <pre><code>multiline {
   type =&gt; "tomcat"
   pattern =&gt; "(^.+Exception: .+)|(^\s+at .+)|(^\s+... \d+ more)|(^\s*Caused by:.+)|(---)"
   what =&gt; "previous"
  }
  </code></pre>
  
  <p>and this is part of my log:</p>
  
  <pre><code>TP-xxxxxxxxxxxxxxxxxxxxxxxx: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
      at xxxxxx
  Caused by: xxxxxxxxx
      at xxxxxx
  Caused by: xxxxxxxxx   
  --- The error occurred in xxxxxxxxx.  
  --- The error occurred xxxxxxxxxx.  
  </code></pre>
  
  <p>My pattern doesn't work here. Probably because i added the (---) at the end. What is the correct regexp to also add the --- lines?</p>
  
  <p>Thanks</p>