- Author: Laurent Domb
- Date: 2015-02-26
- Revision: 0.1
This script will setup a logstash instance on RHEL7 and will add a filter for cloudforms/ManageIQ evm.log or automation.log.
Download https://raw.githubusercontent.com/ldomb/elkformiqonrhel7/master/installelkonel7formiq.sh
# wget https://raw.githubusercontent.com/ldomb/elkformiqonrhel7/master/installelkonel7formiq.sh
Make it executable
#chmod +x installelkonel7formiq.sh
Add the all the info for:
POOL_ID=<poolid>
LG_SERVER_FQDN=<logstash_fqdh>
LG_SERVER_SHORT=<logstash_short>
HT_PASS=<htpassword>
LG_SERVER_IP=<lg_server_ip>
Launch the script
#./installelkonel7formiq.sh
Login to cloudforms and download the logstash-forwarder-installer.sh from logstash
# wget http://YOUR_ELK_SERVER/pub/logstash-forwarder-installer.sh
Make the script executable
# chmod +x logstash-forwarder-installer.sh
Launch the installer
# ./logstash-forwarder-installer.sh