Start Metricbeat
Run Metricbeat by issuing the appropriate command for your platform. If you are accessing a secured Elasticsearch cluster, make sure you’ve configured credentials as described in Configure Metricbeat.
1. DEB and RPM
sudo service metricbeat start
2. Win
PS C:\Program Files\Metricbeat> Start-Service metricbeat
By default the log files are stored in C:\ProgramData\metricbeat\Logs
.
Test the Metricbeat installation
To verify that your server’s statistics are present in Elasticsearch, issue the following command:
curl -XGET 'http://localhost:9200/metricbeat-*/_search?pretty'
Make sure that you replace localhost:9200
with the address of your Elasticsearch instance.
Last updated
Was this helpful?