# How to log auditbeat/metricbeat output not to syslog?

**URL:** <https://discuss.elastic.co/t/how-to-log-auditbeat-metricbeat-output-not-to-syslog/186015>\
**Category:** Beats\
**Created:** [June 17, 2019, 8:30am UTC](https://discuss.elastic.co/t/how-to-log-auditbeat-metricbeat-output-not-to-syslog/186015 "2019-06-17T08:30:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![indreek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/indreek/32/46368_2.png) [@indreek](https://discuss.elastic.co/u/indreek)\
**Post date:** [June 17, 2019, 8:30am UTC](https://discuss.elastic.co/t/how-to-log-auditbeat-metricbeat-output-not-to-syslog/186015/1 "2019-06-17T08:30:27Z")

</div>

I have example config. And i still don't see any files in /tmp/ folder. All auditbeat log goes to syslog? Is it possible to log it into file instead of syslog?

My current config:

```
logging.level: warning
logging.to_syslog: false
logging.to_files: true
logging.files.path: /tmp/
logging.files.name: auditbeat
logging.files.keepfiles: 7
logging.files.permissions: 0644
```

---

<div class="post-metadata">

**Author:** ![indreek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/indreek/32/46368_2.png) [@indreek](https://discuss.elastic.co/u/indreek)\
**Post date:** [June 17, 2019, 8:56am UTC](https://discuss.elastic.co/t/how-to-log-auditbeat-metricbeat-output-not-to-syslog/186015/2 "2019-06-17T08:56:21Z")

</div>

Finally found that it's a "feature" [https://github.com/elastic/beats/issues/12024](https://github.com/elastic/beats/issues/12024)

---

<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 15, 2019, 10:56am UTC](https://discuss.elastic.co/t/how-to-log-auditbeat-metricbeat-output-not-to-syslog/186015/3 "2019-07-15T10:56:23Z")

</div>

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