Skip to content

Commit 37a87dc

Browse files
jpcareyph
authored andcommitted
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
1 parent beba12e commit 37a87dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logstash/outputs/file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# output {
1414
# file {
1515
# path => ...
16-
# codec => { line { format => "custom format: %{message}"}}
16+
# codec => line { format => "custom format: %{message}"}
1717
# }
1818
# }
1919
class LogStash::Outputs::File < LogStash::Outputs::Base

0 commit comments

Comments
 (0)