我们正在尝试安装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吗?如果so....how真的要用自制软件做到这一点呢?
发布于 2021-07-08 20:34:35
我在使用非oss版本时也遇到了同样的问题。通过将ElasticSearch和Kibana升级到7.13.2,成功解决了这个问题。
https://stackoverflow.com/questions/67714476
复制相似问题