mirror of
https://github.com/elastic/logstash.git
synced 2025-04-19 04:15:23 -04:00
Update usage of beats-input obsoleted SSL params in the core. (#16753)
This commit is contained in:
parent
e3265d93e8
commit
4d9942d68a
4 changed files with 8 additions and 8 deletions
2
docs/static/ls-ls-lumberjack.asciidoc
vendored
2
docs/static/ls-ls-lumberjack.asciidoc
vendored
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
--
|
||||
|
|
|
@ -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]%>'
|
||||
|
@ -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]%>'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue