Hi, I have been sitting with this issue all day!
and I get the below error (on windows)
[2023-11-30T21:42:08,979][ERROR][logstash.outputs.elasticsearch] Invalid setting for elasticsearch output plugin:
output {
elasticsearch {
# This setting must be a path
# File does not exist or cannot be opened elastic-stack-ca.crt
cacert => "elastic-stack-ca.crt"
...
}
}
[2023-11-30T21:42:09,045][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"Something is wrong with your configuration."}
[2023-11-30T21:42:09,089][ERROR][logstash.monitoring.internalpipelinesource] Failed to fetch X-Pack information from Elasticsearch. This is likely due to failure to reach a live Elasticsearch cluster.
logstash.yml
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.username: logstash_system
xpack.monitoring.elasticsearch.password: ***************
xpack.monitoring.collection.interval: 10s
xpack.monitoring.collection.pipeline.details.enabled: true
xpack.monitoring.elasticsearch.hosts: xxxxxxxxxx
xpack.monitoring.elasticsearch.ssl.certificate_authority: 'elastic-stack-ca.crt'
any help whould be super.