Metricbeat install on linux

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.

Check Out : Error Can’t Run Elasticsearch As a Root User In Linux

First of all, you need to download metric package to install and with the help of this module you can collect all the metrics of servers which will be defined in modules file.

This metricbeat will help you to check the loads and monitor all the servers at one place. you can also check the mounted disk using this modules. 

There’re lots of modules available along with Apache and much more it depends on what’re your requirements.

you can customise 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 configuration this module.

Step 1 : yum install metricbeat-7.2.0-x86_64.rpm -y

Check Out : How To Install APM Server In Elasticsearch Elk Stack

Step 2 : Take a backup of original metric configuration file 

cd /etc/metricbeat/

cp metricbeat.yml metricbeat.yml-backup

Now make changes in configuration file to connect with elasticsearch.

vim /etc/metricbeat/metricbeat.yml

Now Elasticsearch settings,

Check Out : Configuration of Filebeat For Elasticsearch

Step 3 : Start and enable the metricbeat service.

systemctl start metricbeat && systemctl enable metricbeat

Step 4 : After starting the service, you need to enable system module.

metricbeat modules enable system

Once you enable module, now setup the metricbeat dashboard to send to kibana to visualise graphically.

metricbeat setup

Now go to kibana and check data coming by clicking on check data

Check Out : How To Access Kibana Using Domain Name On Linux

if you find this successful, click on system metrics dashboard.

YouTube Link :

That’s it.

Leave a Reply

avatar
  Subscribe  
Notify of