Revert "fix(elk): update Elasticsearch host configuration to use load balancer"

Kibana doesn't have access to the consul DNS.

This reverts commit c0ea71da15.
This commit is contained in:
Ben Martin 2024-12-21 22:02:31 +00:00
parent e65630e4c0
commit ddfb2c16ca
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -314,7 +314,8 @@ job "elk" {
data = <<-EOF
elasticsearch:
hosts:
- https://elk-lb-nginx.service.consul:9200
{{ range service "elk-node-http" }}
- https://{{ .Address }}:{{ .Port }}{{ end }}
username: ${ELASTICSEARCH_USERNAME}
password: ${ELASTICSEARCH_PASSWORD}
requestTimeout: 600000