# Fleet server goes down when elastic search node used to enroll the fleet server goes down

**URL:** https://discuss.elastic.co/t/fleet-server-goes-down-when-elastic-search-node-used-to-enroll-the-fleet-server-goes-down/317162
**Category:** Kibana
**Tags:** fleet
**Created:** [October 21, 2022, 3:59am UTC](https://discuss.elastic.co/t/fleet-server-goes-down-when-elastic-search-node-used-to-enroll-the-fleet-server-goes-down/317162 "2022-10-21T03:59:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![shi](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@shi](https://discuss.elastic.co/u/shi)
#### Post date: [October 21, 2022, 3:59am UTC](https://discuss.elastic.co/t/fleet-server-goes-down-when-elastic-search-node-used-to-enroll-the-fleet-server-goes-down/317162/1 "2022-10-21T03:59:44Z")

</div>

> We have 3 elasticsearch nodes and a client node.  
> node 1, node 2, node 3

We added all the elasticsearch nodes as output in fleet settings so that even when one elasticsearch node goes down, the fleet will sent the data to other nodes.

We enrolled fleet server with the elasticsearch IP of node 1. We added elastic agent on our clients and started ingesting our logs.

Now

> - When the node 1 of elasticsearch goes down,
> 
> 1. The fleet server and the agents are shown as offline in Kibana. As a result we can't push any new policies.
> 2. The data from the agents are still being ingested because we gave the fleet server output as node1, node2 and node3 (i.e., no issue with data ingestion)
> 
> - There is no issue with fleet server when node2 or node 3 goes down.

**How can we use the fleet server to push the policies even when node 1 (elasticsearch node used to enroll the fleet server) goes down?**

---

<div class="post-metadata">

### Author: ![MichelLaterman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michellaterman/32/110221_2.png) [@MichelLaterman](https://discuss.elastic.co/u/MichelLaterman)
#### Post date: [October 26, 2022, 6:23pm UTC](https://discuss.elastic.co/t/fleet-server-goes-down-when-elastic-search-node-used-to-enroll-the-fleet-server-goes-down/317162/2 "2022-10-26T18:23:09Z")

</div>

Hi,

Can you please provide the config from the agent running fleet-server? The `diagnostics collect` command ([Elastic Agent command reference | Fleet and Elastic Agent Guide [8.4] | Elastic](https://www.elastic.co/guide/en/fleet/current/elastic-agent-cmd-options.html#elastic-agent-diagnostics-command)) can be used to gather this as well as the config provided through kibana?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 23, 2022, 1:44pm UTC](https://discuss.elastic.co/t/fleet-server-goes-down-when-elastic-search-node-used-to-enroll-the-fleet-server-goes-down/317162/3 "2022-11-23T13:44:40Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 21, 2022, 1:44pm UTC](https://discuss.elastic.co/t/fleet-server-goes-down-when-elastic-search-node-used-to-enroll-the-fleet-server-goes-down/317162/4 "2022-12-21T13:44:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
