# Filebeat not logging to files

**URL:** <https://discuss.elastic.co/t/filebeat-not-logging-to-files/237777>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 19, 2020, 9:38am UTC](https://discuss.elastic.co/t/filebeat-not-logging-to-files/237777 "2020-06-19T09:38:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndtreviv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ndtreviv/32/22494_2.png) [@ndtreviv](https://discuss.elastic.co/u/ndtreviv)\
**Post date:** [June 19, 2020, 9:38am UTC](https://discuss.elastic.co/t/filebeat-not-logging-to-files/237777/1 "2020-06-19T09:38:48Z")

</div>

My filebeat (v7.6.0) config has the following:

```auto
logging.level: debug
logging.to_files: true
logging.files:
  path: /var/log/filebeat
  name: filebeat
  keepfiles: 7
  permissions: 0755

```

It doesn't create the files, nor does it log to them, it just continues to log to syslog instead. What haven't I done?

---

<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 17, 2020, 11:48am UTC](https://discuss.elastic.co/t/filebeat-not-logging-to-files/237777/2 "2020-07-17T11:48:24Z")

</div>

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