Graylog:elasticsearch 在同一台机器上有 2 个节点
Graylog: elasticsearch has 2 nodes on the same machine
我正在检查一台安装了 graylog 和 elastic(用于 graylog)的机器。
有一件事我真的无法理解,似乎 elasticsearch 是 运行 同一台机器上的两个节点,我想避免这种情况。
这是输出:
me@server ~ # curl 'localhost:9200/_cat/nodes'
127.0.0.1 127.0.0.1 1 71 0.54 d * Candra
127.0.0.1 127.0.0.1 32 71 0.54 c - graylog-7d4bdfb9-23ac-45e9-a957-1f72b8848e2b
这正常吗?我怎样才能将它设置为只使用一个节点?
第二个节点是 Graylog 为连接到集群而创建的轻量级客户端节点(参见第 6 列中的 c
)。正如您在他们的 official documentation:
中看到的那样,这是完全正常的
Graylog hosts an embedded Elasticsearch node which is joining the Elasticsearch cluster as a client node.
我正在检查一台安装了 graylog 和 elastic(用于 graylog)的机器。
有一件事我真的无法理解,似乎 elasticsearch 是 运行 同一台机器上的两个节点,我想避免这种情况。
这是输出:
me@server ~ # curl 'localhost:9200/_cat/nodes'
127.0.0.1 127.0.0.1 1 71 0.54 d * Candra
127.0.0.1 127.0.0.1 32 71 0.54 c - graylog-7d4bdfb9-23ac-45e9-a957-1f72b8848e2b
这正常吗?我怎样才能将它设置为只使用一个节点?
第二个节点是 Graylog 为连接到集群而创建的轻量级客户端节点(参见第 6 列中的 c
)。正如您在他们的 official documentation:
Graylog hosts an embedded Elasticsearch node which is joining the Elasticsearch cluster as a client node.