Configuring data collector and aggregator
In the previous steps, we managed to deploy Metricbeat. Now, we need to start the actual configuration. So, let's go through the configuration procedure, step by step:
- Go to
/etc/metricbeat
and openmetricbeat.yml
.Uncomment the lines that define
elasticsearch
as the target for Metricbeat. Now, we need to change one more thing. Find the line containing the following:setup.dashboards.enabled: false
Change the preceding line to the following:
setup.dashboards.enabled: true
We need to do this to load to dashboards so that we can use them.
- The rest of the configuration is done from the command line. Metricbeat has a couple of commands that can be run, but the most important is the following one:
metricbeat setup
This command will go through the initial setup. This part of the setup is probably the most important thing in the whole initial configuration – pushing the dashboard templates to Kibana. These templates will enable...