Skip to content

Invalid syntax on format #8

Description

@PhaedrusTheGreek

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

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions