fix(elk): update Elasticsearch host configuration to use load balancer
This commit is contained in:
parent
191312d023
commit
c0ea71da15
1 changed files with 1 additions and 2 deletions
|
@ -318,8 +318,7 @@ job "elk" {
|
|||
data = <<-EOF
|
||||
elasticsearch:
|
||||
hosts:
|
||||
{{ range service "elk-node-http" }}
|
||||
- https://{{ .Address }}:{{ .Port }}{{ end }}
|
||||
- https://elk-lb-nginx.service.consul:9200
|
||||
username: ${ELASTICSEARCH_USERNAME}
|
||||
password: ${ELASTICSEARCH_PASSWORD}
|
||||
requestTimeout: 600000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue