【发布时间】:2021-05-27 01:13:33
【问题描述】:
我们正在尝试安装 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 吗?如果是这样......如何用自制软件实际做到这一点?
【问题讨论】:
标签: elasticsearch homebrew elastic-apm