【发布时间】:2015-09-25 04:39:18
【问题描述】:
当我的 logstash 索引器连接到 Elasticsearch 时,它们显示为“logstash-localhost-xxxxx-xxxxx”,其中 x 是数字。有谁知道如何设置节点名称或让它们显示为它们的主机名?我在 CentOS 6 上,正在从官方存储库安装 v1.5。
【问题讨论】:
-
我认为您需要为 LS 中的
elasticsearch输出指定node_name:elastic.co/guide/en/logstash/current/… -
@AndreiStefan 做到了...将其发布为答案,我会接受。非常感谢!
标签: elasticsearch logstash logstash-configuration