Skip to content

Commit

Permalink
Updates removed params of the Fleet -> Logstash output configurations. (
Browse files Browse the repository at this point in the history
elastic#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
  • Loading branch information
mashhurs authored Feb 7, 2025
1 parent ba5ae97 commit 7dd4058
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand All @@ -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>');
}

0 comments on commit 7dd4058

Please sign in to comment.