# Filebeat 7.12 output.file not working

**URL:** <https://discuss.elastic.co/t/filebeat-7-12-output-file-not-working/285797>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 4, 2021, 9:10am UTC](https://discuss.elastic.co/t/filebeat-7-12-output-file-not-working/285797 "2021-10-04T09:10:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grazia0912](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@grazia0912](https://discuss.elastic.co/u/grazia0912)\
**Post date:** [October 4, 2021, 9:10am UTC](https://discuss.elastic.co/t/filebeat-7-12-output-file-not-working/285797/1 "2021-10-04T09:10:56Z")

</div>

Hi,

Please advise why this output.file isn't working. I'm on windows and trying to get the events filebeat is sending to my logstash. I don't have access much on the logstash logs and stuff so i'm trying to output the events to a file and check from there. When i start the filebeat service, the Windows couldn't start the service. Below is the config.

output.file:  
enabled: true  
path: "C:\Filebeat\_7.12"  
filename: filebeat

---

<div class="post-metadata">

**Author:** ![zx8086](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zx8086/32/94917_2.png) [@zx8086](https://discuss.elastic.co/u/zx8086)\
**Post date:** [October 4, 2021, 9:48am UTC](https://discuss.elastic.co/t/filebeat-7-12-output-file-not-working/285797/2 "2021-10-04T09:48:29Z")

</div>

What error is the Windows Service (Events) showing? Are those the only configurations you have changed and all the rest are default in the filbeat.yml file?

---

<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 1, 2021, 11:49am UTC](https://discuss.elastic.co/t/filebeat-7-12-output-file-not-working/285797/3 "2021-11-01T11:49:29Z")

</div>

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