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
This commit is contained in:
Mashhur 2025-02-07 10:06:59 -08:00 committed by GitHub
parent ba5ae97569
commit 7dd40580bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,11 +13,11 @@ export function getLogstashPipeline(apiKey?: string) {
return `input {
elastic_agent {
port => 5044
ssl => true
ssl_enabled => true
ssl_certificate_authorities => ["<ca_path>"]
ssl_certificate => "<server_cert_path>"
ssl_key => "<server_cert_key_in_pkcs8>"
ssl_verify_mode => "force_peer"
ssl_client_authentication => "required"
}
}
@ -26,8 +26,8 @@ output {
hosts => "<es_host>"
api_key => "<api_key>"
data_stream => true
ssl => true
# cacert => "<elasticsearch_ca_path>"
ssl_enabled => true
# ssl_certificate_authorities => "<elasticsearch_ca_path>"
}
}`.replace('<api_key>', apiKey || '<api_key>');
}