Not sure if this is a problem with the file output, the line codec, or the documentation!
Tested Logstash 2.2.0 and 2.3.1
The following syntax, as suggested in the file output docs
output {
file {
path => "./output"
codec => {
line {
format => "custom format: %{message}"
}
}
}
}
Results in:
Error: Expected one of #, => at line 22, column 7 (byte 294) after output {
file {
path => "./output"
codec => {
line
Not sure if this is a problem with the file output, the line codec, or the documentation!
Tested Logstash 2.2.0 and 2.3.1
The following syntax, as suggested in the file output docs
Results in: