... .elastic.co/cn/downloads/beats/filebeat 下载后直接使用yum安装即可。 配置文件位置: vim /etc/filebeat/filebeat.yml 内容如下: filebeat.inputs: - type: log enabled ...
... monitoring.elasticsearch.password: ***** xpack.monitoring.elasticsearch.hosts: ["http://ip:9200"] filebeat密码配置: output.elasticsearch: hosts: ["192.168.0.30:9200" ...
... : - endpoint: address: socket_address: address: myservice port_value: 80 收集日志的filebeat配置: filebeat.inputs: - type: container paths: - '/var/lib/docker/containers/*/*.log ...
... -ds labels: app: filebeat spec: selector: matchLabels: app: filebeat template: metadata: labels: app: filebeat spec: containers: - name: filebeat image: ikubernetes/filebeat:5.6.5 ...
1