【发布时间】:2020-05-28 08:30:14
【问题描述】:
我目前正在尝试将日志从我的 kubernetes 集群获取到外部 ElasticSearch/Kibana。到目前为止,我已经使用this 守护进程部署来让 filebeat 运行并通过管道传输到我的外部服务器,但我无法弄清楚如何将索引设置为有意义的东西。 This 文档页面告诉我,我需要在 output.elasticsearch 部分中创建 am 索引键,但我不知道该放入什么值。
我想要的输出格式类似于<cluster-name>-<namespace>-<pod name>
IE:devKube-frontend-publicAPI-123abc
【问题讨论】:
标签: elasticsearch kubernetes elastic-stack filebeat