-
Notifications
You must be signed in to change notification settings - Fork 0
Installing Filebeat
Steve McDuff edited this page Sep 22, 2016
·
1 revision
For environments running on RedHat 7.x, this repository provides a set of scripts to automate the deployment and configuration of Filebeat.
Filebeat is installed by running
wget -O - https://raw.githubusercontent.com/dd00f/ibm-b2b-monitoring/master/com.ibm.b2b.monitoring/src/site/repository/install.sh | bash -s -- %LOGSTASH_SERVER% %LOGSTASH_PORT% %REPOSITORY_URL% %INSTALL_TOPBEAT_FLAG%
It uses the following arguments :
- LOGSTASH_SERVER : URL of the Logstash server.
- LOGSTASH_PORT : Port of the Logstash server.
- REPOSITORY_URL : URL of the monitoring script repository. You can use the GitHub repository or clone it to one of your local server. The GitHub repository is located at https://raw.githubusercontent.com/dd00f/ibm-b2b-monitoring/master/com.ibm.b2b.monitoring/src/site/repository
- INSTALL_TOPBEAT_FLAG : If this flag is set to "true" without quotes, Topbeat will also be installed. It is set to "true" by default.
wget -O - https://raw.githubusercontent.com/dd00f/ibm-b2b-monitoring/master/com.ibm.b2b.monitoring/src/site/repository/install.sh | bash -s -- mylocalserver.mycompany.com 5000 https://raw.githubusercontent.com/dd00f/ibm-b2b-monitoring/master/com.ibm.b2b.monitoring/src/site/repository true
You can install Filebeat manually by following their supplied instructions.
You will then need to configure Filebeat to send data use a folder to contain the list of prospectors. It will also have to send data to your installed Logstash server.
You can use this sample to get started.