# Counting agents in Dasboard

**URL:** <https://discuss.elastic.co/t/counting-agents-in-dasboard/373960>\
**Category:** Elasticsearch\
**Created:** [January 31, 2025, 6:56pm UTC](https://discuss.elastic.co/t/counting-agents-in-dasboard/373960 "2025-01-31T18:56:55Z")\
**Posts on this page:** 5\
**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:** [January 31, 2025, 6:56pm UTC](https://discuss.elastic.co/t/counting-agents-in-dasboard/373960/1 "2025-01-31T18:56:55Z")

</div>

Hello everyone,

I have a question, when I enter in the administration part in the “Fleet” option I get the list of agents and their status, in total it tells me that I have X amount of agents.

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

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bdd0c8dcc30caf951f0e1d424b0a5b5e016d013f.png)

I was asked to create a dashboard with a counter and list of all the agents but I am finding that the amount the counter shows me is different from the amount the “fleet” shows me.

I am using the field called “agent.name” from the index “.ds-logs-system.system-default-2025.01.xx-xxxxxx”

Does anyone know the reason why the quantities are different?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/5/956acfae9d72c53a68ac462916c01a18fa53cfe4.png)

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 31, 2025, 7:11pm UTC](https://discuss.elastic.co/t/counting-agents-in-dasboard/373960/2 "2025-01-31T19:11:41Z")

</div>

Does all agents have the `system` integration?

Are all agents sending data without any problem?

On the Fleet page it doesn't check if there is any data for the agent or not.

---

<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:** [January 31, 2025, 7:17pm UTC](https://discuss.elastic.co/t/counting-agents-in-dasboard/373960/3 "2025-01-31T19:17:43Z")

</div>

@leandrojmp

Is this the cause?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4c4d9f4544225f7764a5eec94dca625a852f9f9f.png)

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 31, 2025, 7:21pm UTC](https://discuss.elastic.co/t/counting-agents-in-dasboard/373960/4 "2025-01-31T19:21:12Z")

</div>

No, this is the log for the agent itself.

The `logs-system.system-default` is the data stream for the System integration.

How many agent policies do you have? Does all policies have the System integration? Are you using different namespaces?

---

<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:** [January 31, 2025, 7:26pm UTC](https://discuss.elastic.co/t/counting-agents-in-dasboard/373960/5 "2025-01-31T19:26:36Z")

</div>

@leandrojmp

You are right I have a policy that does not have the integration called “System”.
