修改configmap中对ES的配置错误
parent
302fc3126b
commit
d78ae2695d
Binary file not shown.
Before Width: | Height: | Size: 150 KiB |
|
@ -59,6 +59,6 @@ data:
|
|||
- "/log/usermange/common/*"
|
||||
output.elasticsearch:
|
||||
hosts: ["172.23.5.255:9200"]
|
||||
username: "elastic"
|
||||
password: "changeme"
|
||||
index: "filebeat-test"
|
||||
username: "elastic"
|
||||
password: "changeme"
|
||||
index: "filebeat-test"
|
||||
|
|
|
@ -27,9 +27,9 @@ Kubernetes官方提供了EFK的日志收集解决方案,但是这种方案并
|
|||
|
||||
该方案在扩展性、个性化、部署和后期维护方面都能做到均衡,因此选择该方案。
|
||||
|
||||
![logstash日志收集架构图](../images/filebeat-log-collector.jpg)
|
||||
![logstash日志收集架构图](../images/filebeat-log-collector.png)
|
||||
|
||||
我们创建了自己的logstash镜像。创建过程和使用方式见https://github.com/rootsongjc/docker-images
|
||||
我们创建了自己的filebeat镜像。创建过程和使用方式见https://github.com/rootsongjc/docker-images
|
||||
|
||||
镜像地址:`index.tenxcloud.com/jimmy/filebeat:5.4.0`
|
||||
|
||||
|
@ -114,7 +114,7 @@ data:
|
|||
|
||||
例如对filebeat的容器进行如下配置:
|
||||
|
||||
```
|
||||
```yaml
|
||||
containers:
|
||||
- image: sz-pg-oam-docker-hub-001.tendcloud.com/library/filebeat:5.4.0
|
||||
name: filebeat
|
||||
|
|
Loading…
Reference in New Issue