azure - 无法连接到 Elasticsearch 服务器

标签 azure elasticsearch elastic-stack bitnami

我在 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/

相关文章:

Azure 数据工厂 - 如何批量删除数据集?

elasticsearch - 我可以在 has_child 脚本过滤器中访问父文档属性吗?

java - Elastic Search - 排序 - 在 0 条件下在整数字段之间切换

json - Logstash 从标准输入读取数据,但不从文件读取数据

elasticsearch - ES查询忽略时间范围过滤器

azure - 部署模板验证失败 : 'The resource ' Microsoft. Web/serverfarms/##########' 未在模板中定义

Azure Blob 存储,如何使用访问 token 访问所有文件内容

Azure - 从 EA 门户获取订阅列表及其状态

elasticsearch - 不使用内置标记过滤器的自定义标记生成器

java - 安装摄取附件插件错误