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
|
data = <<-EOF
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
hosts:
|
hosts:
|
||||||
{{ range service "elk-node-http" }}
|
- https://elk-lb-nginx.service.consul:9200
|
||||||
- https://{{ .Address }}:{{ .Port }}{{ end }}
|
|
||||||
username: ${ELASTICSEARCH_USERNAME}
|
username: ${ELASTICSEARCH_USERNAME}
|
||||||
password: ${ELASTICSEARCH_PASSWORD}
|
password: ${ELASTICSEARCH_PASSWORD}
|
||||||
requestTimeout: 600000
|
requestTimeout: 600000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue