I'm trying to install metricbeat on a Windows Server 2019.
I'm using Elastic Metricbeat 7.8.0 installed with the .msi package.
I begin with:
.\metricbeat.exe setup Overwritng ILM policy is disabled. Set `setup.ilm.overwrite:true`for enabling. Index setup finished. Loading dashboards (Kibana must be running and reachable) Loaded dashboards
When I try to start the service with
I get the error:
Service 'Elastic Metricbeat 7.8.0 (metricbeat)' cannot be started due to the following error: Cannot start service metricbeat on computer '.'.
I tried the following diagnostics:
.\metricbeat.exe test config Config OK .\metricbeat.exe test output elasticsearch: http://192.168.1.69:9200... parse url... OK connection... parse host... OK dns lookup... OK addresses: 192.168.1.69 dial up... OK TLS... WAN secure connection disabled talk to server... OK version: 7.8.0
I tried to look for more info in the system logs:
A timeout was reached (30000 milliseconds) while waiting for the Elastic Metricbeat 7.8.0 service to connect.
Here is my metricbeat.yml
- add_host_metadata: ~
- add_cloud_metadata: ~
- add_docker_metadata: ~
- add_kubernetes_metadata: ~
What did I missed?
The following command:
.\metricbeat.exe -e -d "*"
does not return any error (I get messages with json output and messages like:
- return ack to broker loop:x
- done send ack
- PublishEvents: x events have been published to elasticsearch in x.xms.