Skip to content

SSL settings changed and not documented #1178

@itay-nvn-nv

Description

@itay-nvn-nv

Logstash version: 8.5.1

Description:
I've tried to configure SSL settings and found 2 inconsistencies:

  1. The documentation specifies the ssl_enabled option for the plugin, but it is not recognized.
    placement inlogstash.conf:
    output {
      elasticsearch {
        ssl_enabled => true
      }
    }

error log:

[2024-04-15T08:49:14,869][ERROR][logstash.outputs.elasticsearch] Unknown setting 'ssl_enabled' for elasticsearch

Issue resolved when i changed it to ssl => true.

  1. The documentation specifies the ssl_verification_mode option for the plugin, but it is not recognized.
    placement inlogstash.conf:
    output {
      elasticsearch {
        ssl_verification_mode => "none"
      }
    }

error log:

[2024-04-15T09:08:18,575][ERROR][logstash.outputs.elasticsearch] Unknown setting 'ssl_verification_mode' for elasticsearch

Issue resolved when i changed it to ssl_certificate_verification => false.

Both of these 'deprecations' hapenned ~1 year ago:
PR: #1118
release notes:

so it's either the changes weren't applied properly, or the documentation needs to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions