# Failed to start Filebeat sends log files to Logstash or directly to Elasticsearch

**URL:** <https://discuss.elastic.co/t/failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/318023>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 2, 2022, 4:17pm UTC](https://discuss.elastic.co/t/failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/318023 "2022-11-02T16:17:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanny\_chavez\_anto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefanny_chavez_anto/32/112841_2.png) [@stefanny\_chavez\_anto](https://discuss.elastic.co/u/stefanny_chavez_anto)\
**Post date:** [November 2, 2022, 4:17pm UTC](https://discuss.elastic.co/t/failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/318023/1 "2022-11-02T16:17:47Z")

</div>

× filebeat.service - Filebeat sends log files to Logstash or directly to Elasticsearch.  
Loaded: loaded (/lib/systemd/system/filebeat.service; enabled; vendor preset: enabled)  
Active: failed (Result: exit-code) since Wed 2022-11-02 11:02:52 -05; 13min ago  
Docs: [Filebeat: Lightweight Log Analysis & Elasticsearch | Elastic](https://www.elastic.co/products/beats/filebeat)  
Process: 4934 ExecStart=/usr/share/filebeat/bin/filebeat --environment systemd $BEAT\_LOG\_OPTS $BEAT\_CONFIG\_OPTS $BEAT\_PATH\_OPTS (code=exited, status=2)  
Main PID: 4934 (code=exited, status=2)  
CPU: 45ms

nov 02 11:02:52 wazuhserver01 filebeat[4934]: rip 0x7f6c15120a7c  
nov 02 11:02:52 wazuhserver01 filebeat[4934]: rflags 0x246  
nov 02 11:02:52 wazuhserver01 filebeat[4934]: cs 0x33  
nov 02 11:02:52 wazuhserver01 filebeat[4934]: fs 0x0  
nov 02 11:02:52 wazuhserver01 filebeat[4934]: gs 0x0  
nov 02 11:02:52 wazuhserver01 systemd[1]: filebeat.service: Scheduled restart job, restart counter is at 5.  
nov 02 11:02:52 wazuhserver01 systemd[1]: Stopped Filebeat sends log files to Logstash or directly to Elasticsearch..  
nov 02 11:02:52 wazuhserver01 systemd[1]: filebeat.service: Start request repeated too quickly.  
nov 02 11:02:52 wazuhserver01 systemd[1]: filebeat.service: Failed with result 'exit-code'.  
nov 02 11:02:52 wazuhserver01 systemd[1]: Failed to start Filebeat sends log files to Logstash or directly to Elasticsearch..

---

<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:** [November 2, 2022, 9:39pm UTC](https://discuss.elastic.co/t/failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/318023/2 "2022-11-02T21:39:38Z")

</div>

Welcome to our community! 😃

Please don't just post a log without adding more context, you are unlikely to get much help as your post currently is.

---

<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:** [November 30, 2022, 9:40pm UTC](https://discuss.elastic.co/t/failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/318023/3 "2022-11-30T21:40:31Z")

</div>

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