本次实验k8s中要做日志收集。
具体的流程filebeat => kafka => logstash => es =>Kibana
kafka
1.做了ssl认证配置
2.做了 配置SASL/SCRAM认证
上述kafka做了认证,所以你的filebeat,logstash就必须要做相同的认证。
我用的是ELK8.0的版本
当然你一定要看你的logstash的版本中,你的input和ouput插件中的kafka插件是否支持你的kafka版本,不然你的密钥对接不上。`

✅ Elasticsearch security features have been automatically configured!
✅ Authentication is enabled and cluster connections are encrypted.

ℹ️  Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`):
  NJ=2_QrhiChcpEZ6*gL8

ℹ️  HTTP CA certificate SHA-256 fingerprint:
  b77c82f6a58d8754974c44d132cfe072ecde34d47c144f01a821ba0fecb1deb5

上面的有重置用户密码的密令

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐