# Filebeat error

**URL:** <https://discuss.elastic.co/t/filebeat-error/366844>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 20, 2024, 3:04am UTC](https://discuss.elastic.co/t/filebeat-error/366844 "2024-09-20T03:04:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BINDUN26](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@BINDUN26](https://discuss.elastic.co/u/BINDUN26)\
**Post date:** [September 20, 2024, 3:04am UTC](https://discuss.elastic.co/t/filebeat-error/366844/1 "2024-09-20T03:04:51Z")

</div>

the file beat:active(exited). why?

---

<div class="post-metadata">

**Author:** ![OneWhoKnowsNothing](https://avatars.discourse-cdn.com/v4/letter/o/7c8e57/32.png) [@OneWhoKnowsNothing](https://discuss.elastic.co/u/OneWhoKnowsNothing)\
**Post date:** [September 23, 2024, 3:31pm UTC](https://discuss.elastic.co/t/filebeat-error/366844/2 "2024-09-23T15:31:35Z")

</div>

> [@BINDUN26](#):
>
> file beat:active(exited).

because  
filebeat -e -d "\*" -c {location to the filebeat config file}

---

<div class="post-metadata">

**Author:** ![BINDUN26](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@BINDUN26](https://discuss.elastic.co/u/BINDUN26)\
**Post date:** [September 25, 2024, 6:04am UTC](https://discuss.elastic.co/t/filebeat-error/366844/3 "2024-09-25T06:04:46Z")

</div>

after trying this also filebeat -e -d "\*" -c /etc/filebeat/  
Exiting: error loading config file: read /etc/filebeat/: is a directory  
error is accuring.  
and i tried "publisher" but also showing the same issue

---

<div class="post-metadata">

**Author:** ![OneWhoKnowsNothing](https://avatars.discourse-cdn.com/v4/letter/o/7c8e57/32.png) [@OneWhoKnowsNothing](https://discuss.elastic.co/u/OneWhoKnowsNothing)\
**Post date:** [September 30, 2024, 10:13am UTC](https://discuss.elastic.co/t/filebeat-error/366844/4 "2024-09-30T10:13:32Z")

</div>

The reason is in the message.  
-c uses the file location so ur -c should look like -c /etc/filebeat/filebeat.conf
