Filebeat

DevOps ELK评论1,974字数 72阅读0分14秒阅读模式

启动脚本

cd /lib/systemd/system
vim filebeat.service
[Unit]
Description=filebeat server daemon
Documentation=/data/app/filebeat-7.13.2-linux-x86_64/filebeat -help
Wants=network-online.target
After=network-online.target

[Service]
User=centos
Group=centos
Environment="BEAT_CONFIG_OPTS=-c /data/app/filebeat-7.13.2-linux-x86_64/config/filebeat.yml"
ExecStart=/data/app/filebeat-7.13.2-linux-x86_64/filebeat $BEAT_CONFIG_OPTS
Restart=always

[Install]
WantedBy=multi-user.target

chmod 755 filebeat.service 
systemctl enable filebeat.service
systemctl start filebeat.service

 
DevOps
  • 本文由 DevOps 发表于 2022年5月5日 14:37:19
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
  • Filebeat
yum安装Logstash ELK

yum安装Logstash

下载rpm包 [root@ip-172-31-0-46 ~]# wget https://artifacts.elastic.co/downloads/logstash/logstash-7.17.0...
EFK集群[案例] ELK

EFK集群[案例]

Elasticsearch集群配置信息 硬件配置信息 机器名/节点名 IP 内存 cpu 磁盘 us-prod-sre-eslog-node-1 10.0.3.77 32GB 16vcpu 7T us...

发表评论