Installation steps. There are two ELK agents to install:
Metricbeat
- Copy the attached file
metricbeat-6.0.0-x86_64.rpm
to the target server - Execute the command:
sudo rpm -vi metricbeat-6.0.0-x86_64.rpm
- Copy the attached file
system.yml
to/etc/metricbeat/modules.d/
- Copy the attached file
metricbeat.yml
to/etc/metricbeat/
- Execute the command:
sudo systemctl enable metricbeat
- Execute the command:
sudo service metricbeat start
- Copy the attached file
Filebeat
- Copy the attached file
filebeat-6.0.0-x86_64.rpm
to the target server - Execute the command:
sudo rpm -vi filebeat-6.0.0-x86_64.rpm
- Execute the command:
sudo mv /etc/filebeat/module.d/system.yml.disabled /etc/filebeat/module.d/system.yml
- Copy the attached file
filebeat.yml
to/etc/filebeat/
- Execute the command:
sudo systemctl enable filebeat
- Execute the command:
sudo service filebeat start
- Copy the attached file
I want to Automate this using Chef. The Chef environment is ready and working.I want to deploy this binaries on 150 servers. Would be helpfull if someone explain with step by step.