# Fleet server configuration file

**URL:** <https://discuss.elastic.co/t/fleet-server-configuration-file/337163>\
**Category:** Kibana\
**Created:** [June 29, 2023, 7:46am UTC](https://discuss.elastic.co/t/fleet-server-configuration-file/337163 "2023-06-29T07:46:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![willsy](https://avatars.discourse-cdn.com/v4/letter/w/f17d59/32.png) [@willsy](https://discuss.elastic.co/u/willsy)\
**Post date:** [June 29, 2023, 7:46am UTC](https://discuss.elastic.co/t/fleet-server-configuration-file/337163/1 "2023-06-29T07:46:31Z")

</div>

My elastic agents are still sending information to elasticsearch however they are showing as unhealthy or inactive with my fleet server.

On the troubleshooting it suggested to run this command;  
curl -f http://:8220/api/status

However this fails. So my questions really is where is this setting configured so i can set it. many thanks

---

<div class="post-metadata">

**Author:** ![willsy](https://avatars.discourse-cdn.com/v4/letter/w/f17d59/32.png) [@willsy](https://discuss.elastic.co/u/willsy)\
**Post date:** [June 29, 2023, 9:34am UTC](https://discuss.elastic.co/t/fleet-server-configuration-file/337163/2 "2023-06-29T09:34:26Z")

</div>

For some reason and i dont know why, its almost as if the fleet server timed out or just lagged.

I had to stop and start the elastic-agent service and it came back in and working. It seems as though there is a timeout period of 7 days.

I have now set a cron job to stop and start the elastic-agent service weekly to resolve this.

---

<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:** [July 27, 2023, 9:35am UTC](https://discuss.elastic.co/t/fleet-server-configuration-file/337163/3 "2023-07-27T09:35:26Z")

</div>

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