# Fleet server y elasticsearch cluster

**URL:** https://discuss.elastic.co/t/fleet-server-y-elasticsearch-cluster/368150
**Category:** Elastic Agent
**Created:** [October 2, 2024, 8:47pm UTC](https://discuss.elastic.co/t/fleet-server-y-elasticsearch-cluster/368150 "2024-10-02T20:47:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![juancamiloll](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juancamiloll/32/110326_2.png) [@juancamiloll](https://discuss.elastic.co/u/juancamiloll)
#### Post date: [October 2, 2024, 8:47pm UTC](https://discuss.elastic.co/t/fleet-server-y-elasticsearch-cluster/368150/1 "2024-10-02T20:47:01Z")

</div>

I have this configuration for fleet server where the servers 172.26.6.36, 172.26.6.37 and 172.26.6.38 are the Elasticsearch cluster.

172.26.6.41 is the fleet server.

Everything has been working correctly until I identified that if I turn off the 172.26.6.36 server all the agents are seen as offline.

this is my configuration

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/6/e66530a02a0e45aa46d1f6ce40b0b157453dea72.png)

In the highlighted part I do not understand why it takes one of the 3 servers of the elasticsearch cluster, I am sure that if for some reason this one I choose is turned off I will lose visual of the agents by fleet. I don't understand what fleet has to do with elasticsearch in the configuration, do I need to choose one and in case it is not available use another one or what can you suggest me?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/f/2fc08d90382737d91b2b0d45876dca0f6b23d972.png)
