From 9ae671e8efd860390039553d869a5f1c9e1c5fb3 Mon Sep 17 00:00:00 2001 From: Jordan Sissel Date: Fri, 30 Aug 2013 17:26:14 -0700 Subject: [PATCH] - fix docs --- lib/logstash/codecs/multiline.rb | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/lib/logstash/codecs/multiline.rb b/lib/logstash/codecs/multiline.rb index e155e34df..7635a7e02 100644 --- a/lib/logstash/codecs/multiline.rb +++ b/lib/logstash/codecs/multiline.rb @@ -43,13 +43,18 @@ require "logstash/codecs/base" # # This says that any line starting with whitespace belongs to the previous line. # -# Another example is C line continuations (backslash). Here's how to do that: +# Another example is to merge lines not starting with a date up to the previous +# line.. # -# filter { -# multiline { -# type => "somefiletype " -# pattern => "\\$" -# what => "next" +# input { +# file { +# path => "/var/log/someapp.log" +# codec => multiline { +# # Grok pattern names are valid! :) +# pattern => "^%{TIMESTAMP_ISO8601} " +# negate => true +# what => previous +# } # } # } #