# Failed to start filebeat.service: Unit filebeat.service not found

**URL:** <https://discuss.elastic.co/t/failed-to-start-filebeat-service-unit-filebeat-service-not-found/198877>\
**Category:** Logstash\
**Created:** [September 10, 2019, 10:37am UTC](https://discuss.elastic.co/t/failed-to-start-filebeat-service-unit-filebeat-service-not-found/198877 "2019-09-10T10:37:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tje/32/53848_2.png) [@Tje](https://discuss.elastic.co/u/Tje)\
**Post date:** [September 10, 2019, 10:37am UTC](https://discuss.elastic.co/t/failed-to-start-filebeat-service-unit-filebeat-service-not-found/198877/1 "2019-09-10T10:37:02Z")

</div>

I'm trying to enable filebeat in logstash.below is my filebeat.yml

```
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["localhost:9200"]
  username: "elastic"
  password: "elastic"

setup.kibana:
  host: "localhost:5601"

```

i have excuted `sudo ./filebeat modules enable logstash` command  
then executed `sudo ./filebeat setup`command

then tried `sudo service filebeat start`. but got an error

`Failed to start filebeat.service: Unit filebeat.service not found.`

how to solve this?

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [September 11, 2019, 4:17am UTC](https://discuss.elastic.co/t/failed-to-start-filebeat-service-unit-filebeat-service-not-found/198877/2 "2019-09-11T04:17:57Z")

</div>

HI @Tje,

> [@Tje](#):
>
> I'm trying to enable filebeat in logstash

Could you please help me to understand what you are trying to do or achieve?

> [@Tje](#):
>
> Failed to start filebeat.service: Unit filebeat.service not found.

Could you please let me know how you install filebeat on your system?

Regards,  
Harsh Bajaj

---

<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:** [October 9, 2019, 4:18am UTC](https://discuss.elastic.co/t/failed-to-start-filebeat-service-unit-filebeat-service-not-found/198877/3 "2019-10-09T04:18:00Z")

</div>

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