From 04dcef1fe8f77b260d951360e2fc02c831fdb7f8 Mon Sep 17 00:00:00 2001 From: Jared Carey Date: Thu, 16 Jun 2016 09:33:49 -0600 Subject: [PATCH] line { format..} example syntax incorrect. `codec => { line { format => "custom format: %{message}"}}` throws a config error. Tested 2.3.2, 2.1.1, and 1.5.4. Fixes #44 --- lib/logstash/outputs/file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logstash/outputs/file.rb b/lib/logstash/outputs/file.rb index a65b9bb..b849b6a 100644 --- a/lib/logstash/outputs/file.rb +++ b/lib/logstash/outputs/file.rb @@ -13,7 +13,7 @@ # output { # file { # path => ... -# codec => { line { format => "custom format: %{message}"}} +# codec => line { format => "custom format: %{message}"} # } # } class LogStash::Outputs::File < LogStash::Outputs::Base