# How do I enable data collection in the elastic agent of my fleet server?

**URL:** <https://discuss.elastic.co/t/how-do-i-enable-data-collection-in-the-elastic-agent-of-my-fleet-server/329251>\
**Category:** Elastic Agent\
**Created:** [April 3, 2023, 9:08pm UTC](https://discuss.elastic.co/t/how-do-i-enable-data-collection-in-the-elastic-agent-of-my-fleet-server/329251 "2023-04-03T21:08:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WowSuchLogs](https://avatars.discourse-cdn.com/v4/letter/w/958977/32.png) [@WowSuchLogs](https://discuss.elastic.co/u/WowSuchLogs)\
**Post date:** [April 3, 2023, 9:08pm UTC](https://discuss.elastic.co/t/how-do-i-enable-data-collection-in-the-elastic-agent-of-my-fleet-server/329251/1 "2023-04-03T21:08:43Z")

</div>

Hello,

I'm learning ES in a home lab consisting in a server running a cluster of ES/Kibana docker nodes and I installed the fleet server on the docker host itself.

I'd like to monitor Docker through the agent of the fleet server but I read in the docs that "Typically—​especially in large-scale deployments—​this agent is dedicated to running Fleet Server as an Elastic Agent communication host and is not configured for data collection"

Is there a way to enable data collection for the agent running the fleet server?

---

<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:** [May 1, 2023, 9:09pm UTC](https://discuss.elastic.co/t/how-do-i-enable-data-collection-in-the-elastic-agent-of-my-fleet-server/329251/2 "2023-05-01T21:09:15Z")

</div>

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