Skip to content

Commit 7dd4058

Browse files
authored
Updates removed params of the Fleet -> Logstash output configurations. (#210115)
## Summary The configuration shown on Fleet -> Logstash output isn't up to date that some of them are removed. This PR updates obsoleted configuration(s) to align with recent Logstash 9.0 configs. ### Author's checklist - [ ] This needs to be backported to 9.0 Kibana branch - [ ] and would be good to trigger BC
1 parent ba5ae97 commit 7dd4058

File tree

1 file changed

+4
-4
lines changed
  • x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions

1 file changed

+4
-4
lines changed

x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export function getLogstashPipeline(apiKey?: string) {
1313
return `input {
1414
elastic_agent {
1515
port => 5044
16-
ssl => true
16+
ssl_enabled => true
1717
ssl_certificate_authorities => ["<ca_path>"]
1818
ssl_certificate => "<server_cert_path>"
1919
ssl_key => "<server_cert_key_in_pkcs8>"
20-
ssl_verify_mode => "force_peer"
20+
ssl_client_authentication => "required"
2121
}
2222
}
2323
@@ -26,8 +26,8 @@ output {
2626
hosts => "<es_host>"
2727
api_key => "<api_key>"
2828
data_stream => true
29-
ssl => true
30-
# cacert => "<elasticsearch_ca_path>"
29+
ssl_enabled => true
30+
# ssl_certificate_authorities => "<elasticsearch_ca_path>"
3131
}
3232
}`.replace('<api_key>', apiKey || '<api_key>');
3333
}

0 commit comments

Comments
 (0)