Skip to content

Commit

Permalink
Update usage of beats-input obsoleted SSL params in the core. (#16753)
Browse files Browse the repository at this point in the history
  • Loading branch information
mashhurs authored Dec 4, 2024
1 parent e3265d9 commit 4d9942d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/static/ls-ls-lumberjack.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Start the downstream instance of Logstash:

[source,shell]
----
bin/logstash -e 'input { beats { codec => json port => 5000 ssl => true ssl_certificate => "lumberjack.cert" ssl_key => "lumberjack.key"} }'
bin/logstash -e 'input { beats { codec => json port => 5000 ssl_enabled => true ssl_certificate => "lumberjack.cert" ssl_key => "lumberjack.key"} }'
----

This sample command sets port 5000 to listen for incoming Beats input.
Expand Down
4 changes: 2 additions & 2 deletions docsk8s/quick-start/sample-configuration-files.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ data:
input {
beats {
port => "5044"
ssl => true
ssl_enabled => true
ssl_certificate_authorities => ["/usr/share/logstash/config/ca.crt"]
ssl_certificate => "/usr/share/logstash/config/server.crt"
ssl_key => "/usr/share/logstash/config/server.pkcs8.key"
ssl_verify_mode => "force_peer"
ssl_client_authentication => "required"
}
}
output {
Expand Down
4 changes: 2 additions & 2 deletions docsk8s/setting-up/ls-k8s-secure.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ On {ls}, configure the server certificates to the pipeline:
input {
beats {
port => "5044"
ssl => true
ssl_enabled => true
ssl_certificate_authorities => ["/usr/share/logstash/config/ca.crt"]
ssl_certificate => "/usr/share/logstash/config/server.crt"
ssl_key => "/usr/share/logstash/config/server.pkcs8.key"
ssl_verify_mode => "force_peer"
ssl_client_authentication => "required"
}
}
--
Expand Down
6 changes: 3 additions & 3 deletions qa/integration/fixtures/beats_input_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config:
tls_server_auth: |-
input {
beats {
ssl => true
ssl_enabled => true
port => 5044
ssl_certificate => '<%=options[:ssl_certificate]%>'
ssl_key => '<%=options[:ssl_key]%>'
Expand All @@ -23,11 +23,11 @@ config:
tls_mutual_auth: |-
input {
beats {
ssl => true
ssl_enabled => true
port => 5044
ssl_certificate => '<%=options[:ssl_certificate]%>'
ssl_key => '<%=options[:ssl_key]%>'
ssl_verify_mode => "force_peer"
ssl_client_authentication => "required"
ssl_certificate_authorities => '<%=options[:ssl_certificate]%>'
}
}
Expand Down

0 comments on commit 4d9942d

Please sign in to comment.