# Filebeat not send logs to elasticsearch directly

**URL:** https://discuss.elastic.co/t/filebeat-not-send-logs-to-elasticsearch-directly/238437
**Category:** Beats
**Tags:** filebeat
**Created:** [June 24, 2020, 10:43am UTC](https://discuss.elastic.co/t/filebeat-not-send-logs-to-elasticsearch-directly/238437 "2020-06-24T10:43:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Andrew31](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Andrew31](https://discuss.elastic.co/u/Andrew31)
#### Post date: [June 24, 2020, 10:43am UTC](https://discuss.elastic.co/t/filebeat-not-send-logs-to-elasticsearch-directly/238437/1 "2020-06-24T10:43:43Z")

</div>

Hi

I have install filebeat in a centos 7, not send to elasticsearch installed in other machine. Ports 9200 and 5601 is opened. The configs are this.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 25, 2020, 1:32am UTC](https://discuss.elastic.co/t/filebeat-not-send-logs-to-elasticsearch-directly/238437/2 "2020-06-25T01:32:01Z")

</div>

Please don't post pictures of text, they are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<div class="post-metadata">

### Author: ![Andrew31](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Andrew31](https://discuss.elastic.co/u/Andrew31)
#### Post date: [July 10, 2020, 6:43am UTC](https://discuss.elastic.co/t/filebeat-not-send-logs-to-elasticsearch-directly/238437/3 "2020-07-10T06:43:38Z")

</div>

Ok. thanks. The problem has been resolved

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 12, 2020, 10:14pm UTC](https://discuss.elastic.co/t/filebeat-not-send-logs-to-elasticsearch-directly/238437/4 "2020-07-12T22:14:33Z")

</div>

Please share the solution in the thread, it might help someone in future 🙂

---

<div class="post-metadata">

### Author: ![Andrew31](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Andrew31](https://discuss.elastic.co/u/Andrew31)
#### Post date: [July 31, 2020, 12:12pm UTC](https://discuss.elastic.co/t/filebeat-not-send-logs-to-elasticsearch-directly/238437/5 "2020-07-31T12:12:24Z")

</div>

This problem has been solutioned with apply permission correctly to logs directory

---

<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: [August 28, 2020, 2:12pm UTC](https://discuss.elastic.co/t/filebeat-not-send-logs-to-elasticsearch-directly/238437/6 "2020-08-28T14:12:34Z")

</div>

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