elasticsearch - Elastic-APM 索引名称无效 [_license]
问题描述
我们正在尝试安装 elastic-apm(目前在我们的开发系统上)。
根据 Homebrew,我们有最新的elasticsearch-oss
(7.10.2)、kibana-oss
(7.10.2) 和今天安装apm-server-oss
的(版本为 7.13.0)。运行 apm-server 测试输出,我们得到:
% apm-server test output
elasticsearch: http://localhost:9200...
parse url... OK
connection...
parse host... OK
dns lookup... OK
addresses: ::1, 127.0.0.1
dial up... OK
TLS... WARN secure connection disabled
talk to server... ERROR Connection marked as failed because the onConnect callback failed: could not connect to a compatible version of Elasticsearch: 400 Bad Request: {"error":{"root_cause":[{"type":"invalid_index_name_exception","reason":"Invalid index name [_license], must not start with '_'.","index_uuid":"_na_","index":"_license"}],"type":"invalid_index_name_exception","reason":"Invalid index name [_license], must not start with '_'.","index_uuid":"_na_","index":"_license"},"status":400}
因为关于让 APM 运行的文档有些迟钝,所以这可能是一个配置问题。但如何进一步调查?
是安装较早版本的apm-server的解决方案吗?如果是这样......如何用自制软件实际做到这一点?
解决方案
我在使用非 oss 版本时遇到了同样的问题。通过将 ElasticSearch 和 Kibana 升级到 7.13.2 来解决这个问题。
推荐阅读
- python - Python Pandas 删除数据框中的空单元格
- vba - 文件名 vba 构造
- java - 空字符串的内存表示
- symfony - EventSubscriber 中的 getUser 实体
- java - 如何在不使用谷歌地图和其他地图的情况下获取用户当前位置?
- swift - 以正确的方式从 Int 构造日期
- reactjs - 如何在reactjs中将输入键映射到制表键
- sapui5 - sapui5 重新绑定来自 odata 的表中的数据
- html - 将文本限制为容器宽度并保持居中样式
- java - 错误:您的项目 buildScript 或 buildSrc 类路径中似乎有 guava-jdk5