Skip to content

Logstash config example doesn't work as shown #9618

@dedemorton

Description

@dedemorton

The following example from https://www.elastic.co/guide/en/logstash/current/ls-security.html does not work (maybe because the password contains hyphens).

To get the password in the example to work, I had to wrap it in quotation marks:

    password => "x-pack-test-password"

Here is the original example. Maybe it would be better to properly delimit strings in the examples?

input {
  elasticsearch {
    ...
    user => logstash_internal
    password => x-pack-test-password
  }
}
filter {
  elasticsearch {
    ...
    user => logstash_internal
    password => x-pack-test-password
  }
}
output {
  elasticsearch {
    ...
    user => logstash_internal
    password => x-pack-test-password
  }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions