Start Metricbeat
editStart Metricbeat
editBefore starting Metricbeat:
- Follow the steps in Quick start: installation and configuration to install, configure, and set up the Metricbeat environment.
- Make sure Kibana and Elasticsearch are running.
-
Make sure the user specified in
metricbeat.yml
is authorized to publish events.
To start Metricbeat, run:
sudo service metricbeat start
If you use an init.d
script to start Metricbeat, you can’t specify command
line flags (see Command reference). To specify flags, start Metricbeat in
the foreground.
Also see Metricbeat and systemd.
sudo service metricbeat start
If you use an init.d
script to start Metricbeat, you can’t specify command
line flags (see Command reference). To specify flags, start Metricbeat in
the foreground.
Also see Metricbeat and systemd.
You’ll be running Metricbeat as root, so you need to change ownership of the
configuration file and any configurations enabled in the |
To have launchd start elastic/tap/metricbeat
and then restart it at login,
run:
brew services start elastic/tap/metricbeat-full
To run Metricbeat in the foreground instead of running it as a background service, run:
sudo chown root /usr/local/etc/metricbeat/metricbeat.yml sudo chown root /usr/local/etc/metricbeat/modules.d/system.yml sudo metricbeat -e
You’ll be running Metricbeat as root, so you need to change ownership of the
configuration file and any configurations enabled in the |
You’ll be running Metricbeat as root, so you need to change ownership of the
configuration file and any configurations enabled in the |
PS C:\Program Files\metricbeat> Start-Service metricbeat
By default, Windows log files are stored in C:\ProgramData\metricbeat\Logs
.
On Windows, statistics about system load and swap usage are currently not captured