# Filebeats on windows

**URL:** <https://discuss.elastic.co/t/filebeats-on-windows/40490>\
**Category:** Beats\
**Created:** [January 29, 2016, 3:15pm UTC](https://discuss.elastic.co/t/filebeats-on-windows/40490 "2016-01-29T15:15:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sd\_karthik](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@sd\_karthik](https://discuss.elastic.co/u/sd_karthik)\
**Post date:** [January 29, 2016, 3:15pm UTC](https://discuss.elastic.co/t/filebeats-on-windows/40490/1 "2016-01-29T15:15:30Z")

</div>

Can someone please explain me how to get Filebeats working on Windows.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/1/1855641df29252133c32c4879981e4a7581034cb.png)

I have uploaded whatever I have in my windows server. Also I have configs ready on filebeat.yml.  
I tried to execute filebeat.exe from command line and it says --

Directory of C:\Beats\filebeat-1.0.1-windows

01/27/2016 12:18 PM .  
01/27/2016 12:18 PM ..  
01/27/2016 12:18 PM 9,177,600 filebeat.exe  
01/27/2016 12:18 PM 814 filebeat.template.json  
01/27/2016 02:01 PM 14,936 filebeat.yml  
01/27/2016 12:18 PM 442 install-service-filebeat.ps1  
01/27/2016 12:18 PM 184 uninstall-service-filebeat.ps1  
5 File(s) 9,193,976 bytes  
2 Dir(s) 4,398,149,632 bytes free

C:\Beats\filebeat-1.0.1-windows\>filebeat.exe  
Loading config file error: Failed to read /etc/filebeat/filebeat.yml: open  
filebeat/filebeat.yml: The system cannot find the path specified.. Exiting.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [January 29, 2016, 3:31pm UTC](https://discuss.elastic.co/t/filebeats-on-windows/40490/2 "2016-01-29T15:31:30Z")

</div>

Hi @sd_karthik, please follow the [Getting Started guide](https://www.elastic.co/guide/en/beats/filebeat/1.0.1/filebeat-getting-started.html) for Filebeat 1.0.1.

---

<div class="post-metadata">

**Author:** ![sd\_karthik](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@sd\_karthik](https://discuss.elastic.co/u/sd_karthik)\
**Post date:** [January 29, 2016, 9:13pm UTC](https://discuss.elastic.co/t/filebeats-on-windows/40490/3 "2016-01-29T21:13:55Z")

</div>

Yep, i tried installing it using the doc and looks like it works now. But however, it is still not streaming exact live logs..It stops after sometime streaming.

Where do I find filebeat logs on windows machine?  
I need to see why the logs are not fully getiing streamed and why it is stopping like 1 min after i start filebeat on my windows machine.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [January 29, 2016, 9:34pm UTC](https://discuss.elastic.co/t/filebeats-on-windows/40490/4 "2016-01-29T21:34:51Z")

</div>

The quickest way to debug Filebeat is to start it in the foreground and look at the console.

```auto
PS > Stop-Service filebeat
PS > .\filebeat.exe -c filebeat.yml -e -v -d "*"

```

Alternatively, you can also configure file based logging through the filebeat.yml file. You must restart the service after changing the config file. Add something like this.

```auto
logging:
  to_files: true
  files:
    path: C:/ProgramData/filebeat/Logs
  level: info

```

or for verbose logs use:

```auto
logging:
  to_files: true
  files:
    path: C:/ProgramData/filebeat/Logs
  level: debug
  selectors: ["*"]

```

---

<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 5, 2017, 9:56pm UTC](https://discuss.elastic.co/t/filebeats-on-windows/40490/5 "2017-07-05T21:56:08Z")

</div>


