filebeat mysql 安装_Filebeat 6.2.3 rpm方式安装启动

1.下载rpm二进制包

#wget https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.2.3-x86_64.rpm

2.安装

#rpm -ivh filebeat-6.2.3-x86_64.rpm

3.修改主配置文件该步骤同tar包,查询配置文件的路径可通过

[root@test system]# rpm -ql filebeat | more

/etc/filebeat/fields.yml

/etc/filebeat/filebeat.reference.yml

/etc/filebeat/filebeat.yml

/etc/filebeat/modules.d/apache2.yml.disabled

/etc/filebeat/modules.d/auditd.yml.disabled

/etc/filebeat/modules.d/icinga.yml.disabled

/etc/filebeat/modules.d/kafka.yml.disabled

/etc/filebeat/modules.d/logstash.yml.disabled

/etc/filebeat/modules.d/mysql.yml.disabled

/etc/filebeat/modules.d/nginx.yml.disabled

/etc/filebeat/modules.d/osquery.yml.disabled

/etc/filebeat/modules.d/postgresql.yml.disabled

/etc/filebeat/modules.d/redis.yml.disabled

/etc/filebeat/modules.d/system.yml.disabled

/etc/filebeat/modules.d/traefik.yml.disabled

/etc/init.d/filebeat

/lib/systemd/system/filebeat.service

/usr/bin/filebeat

/usr/share/filebeat/.build_hash.txt

/usr/share/filebeat/LICENSE.txt

/usr/share/filebeat/NOTICE.txt

/usr/share/filebeat/README.md

/usr/share/filebeat/bin/filebeat

/usr/share/filebeat/bin/filebeat-god

/usr/share/filebeat/kibana/5/dashboard/0d3f2380-fa78-11e6-ae9b-81e5311e8cab.json

/usr/share/filebeat/kibana/5/dashboard/26309570-2419-11e7-a83b-d5f4cebac9ff.json

/usr/share/filebeat/kibana/5/dashboard/277876d0-fa2c-11e6-bbd3-29c986c96e5a.json

/usr/share/filebeat/kibana/5/dashboard/5517a150-f9ce-11e6-8115-a7c18106d86a.json

/usr/share/filebeat/kibana/5/dashboard/7fea2930-478e-11e7-b1f0-cb29bac6bf8b.json

/usr/share/filebeat/kibana/5/dashboard/Filebeat-Apache2-Dashboard.json

/usr/share/filebeat/kibana/5/dashboard/Filebeat-MySQL-Dashboard.json

/usr/share/filebeat/kibana/5/dashboard/Filebeat-Nginx-Dashboard.json

/usr/share/filebeat/kibana/5/dashboard/Filebeat-Traefik-Dashboard.json

/usr/share/filebeat/kibana/5/dashboard/Filebeat-syslog-dashboard.json

/usr/share/filebeat/kibana/5/dashboard/ML-Nginx-Access-Remote-IP-Count-Explorer.json

/usr/share/filebeat/kibana/5/dashboard/ML-Nginx-Remote-IP-URL-Explorer.json

/usr/share/filebeat/kibana/5/dashboard/ML-Traefik-Access-Remote-IP-Count-Explorer.json

/usr/share/filebeat/kibana/5/dashboard/ML-Traefik-Remote-IP-URL-Explorer.json

/usr/share/filebeat/kibana/5/dashboard/b9163ea0-2417-11e7-a83b-d5f4cebac9ff.json

/usr/share/filebeat/kibana/5/dashboard/dfbb49f0-0a0f-11e7-8a62-2d05eaaac5cb.json

/usr/share/filebeat/kibana/5/dashboard/f693d260-2417-11e7-a83b-d5f4cebac9ff.json

/usr/share/filebeat/kibana/5/index-pattern/filebeat.json

/usr/share/filebeat/kibana/5/search/0ab87b80-478e-11e7-b1f0-cb29bac6bf8b.json

--More--

.........................

4.以系统服务方式启动filebeat

#systemctl enable filebeat.service --设置服务开机自启动

#systemctl start filebeat.service --启动服务

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值