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:
parent
e65630e4c0
commit
ddfb2c16ca
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue