# Elastic agent unable to send logs to elasticsearch

**URL:** https://discuss.elastic.co/t/elastic-agent-unable-to-send-logs-to-elasticsearch/335870
**Category:** Elastic Agent
**Created:** [June 13, 2023, 12:22pm UTC](https://discuss.elastic.co/t/elastic-agent-unable-to-send-logs-to-elasticsearch/335870 "2023-06-13T12:22:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kafikone](https://avatars.discourse-cdn.com/v4/letter/k/6de8d8/32.png) [@kafikone](https://discuss.elastic.co/u/kafikone)
#### Post date: [June 13, 2023, 12:22pm UTC](https://discuss.elastic.co/t/elastic-agent-unable-to-send-logs-to-elasticsearch/335870/1 "2023-06-13T12:22:30Z")

</div>

I deployed elasticsearch, kibana and logstash on a CentOS 7 virtual machine, and everything is working correctly. Then I created a fleet server and installed an elastic agent on a Windows 11 Vm. The status of my agent is healthy but I am not receiving any data on kibana. On my kibana interface there is no data to display.  
if anyone would like to help me please.

---

<div class="post-metadata">

### Author: ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)
#### Post date: [June 13, 2023, 6:47pm UTC](https://discuss.elastic.co/t/elastic-agent-unable-to-send-logs-to-elasticsearch/335870/2 "2023-06-13T18:47:51Z")

</div>

Hello @kafikone,

If Elastic Agent is set up and running, but you don’t see data in Kibana:

1. Go to **Management \> Dev Tools** in Kibana, and in the Console, search your index for data. For example:

`GET metrics-*/_search`

Or if you prefer, go to the **Discover** app.

1. Look at the data that Elastic Agent has sent and see if the `name.host` field contains your host machine name.

If you don’t see data for your host, it’s possible that the data is blocked in the network, or that a firewall or security problem is preventing the Elastic Agent from sending the data.

---

<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 11, 2023, 6:47pm UTC](https://discuss.elastic.co/t/elastic-agent-unable-to-send-logs-to-elasticsearch/335870/3 "2023-07-11T18:47:56Z")

</div>

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