# Elastic agents are becoming offline after some time

**URL:** <https://discuss.elastic.co/t/elastic-agents-are-becoming-offline-after-some-time/334100>\
**Category:** Elastic Agent\
**Created:** [May 23, 2023, 10:25am UTC](https://discuss.elastic.co/t/elastic-agents-are-becoming-offline-after-some-time/334100 "2023-05-23T10:25:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malik\_Bilal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/malik_bilal/32/85562_2.png) [@Malik\_Bilal](https://discuss.elastic.co/u/Malik_Bilal)\
**Post date:** [May 23, 2023, 10:25am UTC](https://discuss.elastic.co/t/elastic-agents-are-becoming-offline-after-some-time/334100/1 "2023-05-23T10:25:46Z")

</div>

Elastic agents installed in the aks cluster are online for 3 minutes and then they become offline after every that . This loop keeps on continuing and therefore I have alot of elastic agents in the offline state.  
I see that the cloudbeat/cis\_k8s Failed: pid exited with code '1' keeps on failing continuously.

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

---

<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:** [June 20, 2023, 10:26am UTC](https://discuss.elastic.co/t/elastic-agents-are-becoming-offline-after-some-time/334100/2 "2023-06-20T10:26:02Z")

</div>

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