# Kibana Setting multiple elasticsearch.hosts over marathon template

**URL:** https://discuss.elastic.co/t/kibana-setting-multiple-elasticsearch-hosts-over-marathon-template/202662
**Category:** Kibana
**Created:** [October 8, 2019, 12:04pm UTC](https://discuss.elastic.co/t/kibana-setting-multiple-elasticsearch-hosts-over-marathon-template/202662 "2019-10-08T12:04:59Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)
#### Post date: [October 8, 2019, 2:28pm UTC](https://discuss.elastic.co/t/kibana-setting-multiple-elasticsearch-hosts-over-marathon-template/202662/2 "2019-10-08T14:28:23Z")

</div>

@Merlin_Nunez could you please try the following

```auto
"env": {
    "ELASTICSEARCH_HOSTS": '["http://99.9.99.99:9200","http://99.9.99.98:9200"]'
},

```

Cheers

---

_[View the full topic](https://discuss.elastic.co/t/kibana-setting-multiple-elasticsearch-hosts-over-marathon-template/202662)._
