# Metricbeat Service can't Start Running

**URL:** <https://discuss.elastic.co/t/metricbeat-service-cant-start-running/219919>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 19, 2020, 8:20am UTC](https://discuss.elastic.co/t/metricbeat-service-cant-start-running/219919 "2020-02-19T08:20:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faiq\_FK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faiq_fk/32/62866_2.png) [@Faiq\_FK](https://discuss.elastic.co/u/Faiq_FK)\
**Post date:** [February 19, 2020, 8:20am UTC](https://discuss.elastic.co/t/metricbeat-service-cant-start-running/219919/1 "2020-02-19T08:20:48Z")

</div>

Hello, im in a project that need to install kibana-elasticsearch-metricbeat now i already install all of that, but after i install metricbeat and configure the yml file i cant start the metricbeat serive.

This is my PowerShell command :  
`PS C:\Program Files\Metricbeat> Start-Service metricbeat`

And this is the error i got:

```auto
> Start-Service : Service 'metricbeat (metricbeat)' cannot be started due to the following error: cannotstart service metricbeaton computer'.'.
> At line:1 char:1
> +Start-Service metricbeat
> + -----------------------
> + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
> + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

```

What should i do to resolve this one?

i also tried to run this script:

`PS C:\Program Files\Metricbeat> .\metricbeat.exe -c metricbeat.yml -e -v -d "*"`

but i got long error message only

Please help me to run the metricbeat service on my windows  
Thankyou

---

<div class="post-metadata">

**Author:** ![tristan1](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tristan1](https://discuss.elastic.co/u/tristan1)\
**Post date:** [February 25, 2020, 1:35pm UTC](https://discuss.elastic.co/t/metricbeat-service-cant-start-running/219919/2 "2020-02-25T13:35:32Z")

</div>

Can you please post your metricbeat yaml file?

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [February 25, 2020, 9:55pm UTC](https://discuss.elastic.co/t/metricbeat-service-cant-start-running/219919/3 "2020-02-25T21:55:26Z")

</div>

Maybe someone can help you with the powershell command but while so, can you paste the output of the second command? the `metricbeat.exe -e -d "*"`. Also, as @tristan1 says, the configuration is useful to understand which services are you trying to monitor

---

<div class="post-metadata">

**Author:** ![Faiq\_FK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faiq_fk/32/62866_2.png) [@Faiq\_FK](https://discuss.elastic.co/u/Faiq_FK)\
**Post date:** [February 27, 2020, 8:25am UTC](https://discuss.elastic.co/t/metricbeat-service-cant-start-running/219919/4 "2020-02-27T08:25:18Z")

</div>

thankyou for your concern, the problem already solved by running .\metricbeat.exe setup --dashboards before i run Start-Service metricbeat 😊

---

<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:** [March 26, 2020, 8:25am UTC](https://discuss.elastic.co/t/metricbeat-service-cant-start-running/219919/5 "2020-03-26T08:25:31Z")

</div>

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