Logstash安装参考http://udn.yyuap.com/doc/logstash-best-practice-cn/get_start/daemon.html
但是使用过程中安装supervisord 遇到了点问题,直接使用
yum -y install supervisord --enablerepo=epel会报错:Error getting repository data for epel,repository not found
这是因为Centos or Red Hat的linux系统不能用Fedora Extra Packages for Enterprise Linux (EPEL) repository.因此,需要先安装允许其使用,参考地址:https://support.rackspace.com/how-to/install-epel-and-additional-repositories-on-centos-and-red-hat/
sudo yum install epel-release原文链接:https://www.f2er.com/centos/382121.html