centos安装filebeat

未分类

wget https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.6.2-i686.rpm


rpm -vi filebeat-6.6.2-i686.rpm


mv /etc/filebeat/filebeat.yml /etc/filebeat/filebeat.yml_old


wget -P /etc/filebeat/ http://helian.info/ll/tmp/filebeat.yml

vi /appfs/etc/nginx/conf.d/portal.conf
/var/log/nginx/newaccess.log

/appfs/sbin/nginx -s reload
/etc/init.d/filebeat restart

发表回复