install beats on rasberry

The solution for “install beats on rasberry” can be found here. The following code will assist you in solving the problem.

install git
$ sudo apt-get install git -y

clone the repo easyBEATS
$ git clone https://github.com/josh-thurston/easyBEATS

Now make the install script executable so you can run it.
$ sudo chmod 755 easyBEATS

Configure the script
$ vi easyBEATS
or
$ nano easyBEATS

Run the script
$ ./easyBEATS

After the script is finished, configure each of the Beats shippers. Configuration files are found in /etc/$BEAT_NAME
#filebeat example
$ sudo vi /etc/filebeatfilebeat.yml

Some of the Beats have modules. Enable these by renaming them.
$ mv /etc/filebeat/modules.d/system.yml.disabled /etc/filebeat/modules.d/system.yml

The script has already prepared the system to launch the service at boot / re-boot. You just need to start the service after you configure
#filebeat example
$ sudo systemctl start filebeat.service

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in