Step To Collect Systems Metrics In ELK Stack
Step To Collect Systems Metrics using this plugin to monitor your infrastructure. Metricbeat will help you to gather the information about your server values like CPU, N/W I/O and much more. We can collect the system metrics using metricbeat elk.
First of all, you need to download the metric package to install and with the help of this module you can collect all the metrics of servers which will be defined in the modules file.
This metricbeat will help you to check the loads and monitor all the servers in one place. you can also check the mounted disk using this module.
There’re lots of modules available along with Apache and much more it depends on what’re your requirements.
you can customize this module which you don’t want to show in kibana and helps to identify the issues in the servers.
Below are the steps for the configuration of this module.
Step 1: yum install metricbeat-7.2.0-x86_64.rpm -y
Step 2: Take a backup of the original metric configuration file
cd /etc/metricbeat/ cp metricbeat.yml metricbeat.yml-backup
Now make changes in the configuration file to connect with elasticsearch.
Now Elasticsearch settings,
Check Out: Configuration of Filebeat For Elasticsearch
Step 3: Start and enable metricbeat service.
systemctl start metricbeat && systemctl enable metricbeat
Step 4: After starting the service, you need to enable the system module.
metricbeat modules enable system
Once you enable the module, now setup the metricbeat dashboard to send to kibana to visualize graphically.
Now go to kibana and check data coming by clicking on check data
if you find this successful, click on the system metrics dashboard.
That’s it. metrics collect using metricbeat system