# Filebeat windows service is not starting

**URL:** <https://discuss.elastic.co/t/filebeat-windows-service-is-not-starting/157776>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 21, 2018, 8:41pm UTC](https://discuss.elastic.co/t/filebeat-windows-service-is-not-starting/157776 "2018-11-21T20:41:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kommineni24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kommineni24/32/117038_2.png) [@kommineni24](https://discuss.elastic.co/u/kommineni24)\
**Post date:** [November 21, 2018, 8:41pm UTC](https://discuss.elastic.co/t/filebeat-windows-service-is-not-starting/157776/1 "2018-11-21T20:41:54Z")

</div>

Hi,

Am using filebeat to read log files and stash it in logstash.

But am not able to start the service of filebeat. As am new to ELK, I followed the instructions given in the guide and it says the below command to be executed in cmd(PowerShell i have).

Start-Service filebeat

and the error I get is this.

Start-Service : Service 'filebeat (filebeat)' cannot be started due to the following error: Cannot open filebeat  
service on computer '.'.  
At line:1 char:1

- Start-Service filebeat
- 

```auto
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],

```

ServiceCommandException

- FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

```auto

Can anyone give a solution for this? How can I start the filebeat? Is there any other way to do this?
Am using Windows Server 2008 R2
```

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [November 22, 2018, 1:56pm UTC](https://discuss.elastic.co/t/filebeat-windows-service-is-not-starting/157776/2 "2018-11-22T13:56:28Z")

</div>

Hello @kommineni24,

Windows 2008 is not officially supported in our [matrix](https://www.elastic.co/support/matrix), meaning we do not do any tests on it.

But I would expect it to work at least the binary.

[I think this post is pretty similar to your situation and it contains a workaround.](https://discuss.elastic.co/t/install-filebeat-on-windows/81946)

---

<div class="post-metadata">

**Author:** ![kommineni24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kommineni24/32/117038_2.png) [@kommineni24](https://discuss.elastic.co/u/kommineni24)\
**Post date:** [December 3, 2018, 5:17pm UTC](https://discuss.elastic.co/t/filebeat-windows-service-is-not-starting/157776/3 "2018-12-03T17:17:00Z")

</div>

Thanks now its working. But ran into different issue now.

# [Unexpected error while indexing monitoring document org.elasticsearch.xpack.monitoring](https://discuss.elastic.co/t/unexpected-error-while-indexing-monitoring-document-org-elasticsearch-xpack-monitoring/120750)

---

<div class="post-metadata">

**Author:** ![kommineni24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kommineni24/32/117038_2.png) [@kommineni24](https://discuss.elastic.co/u/kommineni24)\
**Post date:** [December 3, 2018, 5:17pm UTC](https://discuss.elastic.co/t/filebeat-windows-service-is-not-starting/157776/4 "2018-12-03T17:17:41Z")

</div>

Could you please help. ES on docker is automatically getting down after I do docker compose up

---

<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:** [December 31, 2018, 5:17pm UTC](https://discuss.elastic.co/t/filebeat-windows-service-is-not-starting/157776/5 "2018-12-31T17:17:46Z")

</div>

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