gpt4 book ai didi

azure - 无法连接到 Elasticsearch 服务器

转载 作者:行者123 更新时间:2023-12-02 23:53:13 25 4
gpt4 key购买 nike

我在 Azure 上安装了最新版本的 ELK 堆栈 (7.0.1)。我在 kubernetes 上有 apm-server 和这个 docker 镜像:docker.elastic.co/apm/apm-server:7.0.1

但是,它没有与elasticsearch服务器连接。

错误:

ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch(http://x.x.x.x:9200)): Connection marked as failed because the onConnect callback failed: This Beat requires the default distribution of Elasticsearch. Please upgrade to the default distribution of Elasticsearch from elastic.co, or downgrade to the oss-only distribution of beats

INFO pipeline/output.go:93 Attempting to reconnect to backoff(elasticsearch(http://x.x.x.x:9200)) with 11 reconnect attempt(s)

INFO [publisher] pipeline/retry.go:189 retryer: send unwait-signal to consumer

INFO [publisher] pipeline/retry.go:191 done

INFO [publisher] pipeline/retry.go:166 retryer: send wait signal to consumer

INFO [publisher] pipeline/retry.go:168 done

INFO elasticsearch/client.go:734 Attempting to connect to Elasticsearch version 7.0.1

INFO [request] beater/common_handler.go:185 handled request {"request_id": "2e79d623-b8fb-4743-8b50-b516db256d5b", "method": "POST", "URL": "/intake/v2/events", "content_length": -1, "remote_address": "10.0.11.11", "user-agent": "elastic-apm-node/2.11.0 elastic-apm-http-client/7.3.0", "response_code": 202}

最佳答案

看来您使用的是elasticsearch的oss发行版,但使用的是默认版本的apm。

将elasticsearch集群升级到默认disto或使用此oss apm docker镜像:docker.elastic.co/apm/apm-server-oss:7.0.1

关于azure - 无法连接到 Elasticsearch 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56065263/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com