【问题标题】:Elastic-APM Invalid index name [_license]Elastic-APM 索引名称无效 [_license]
【发布时间】: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


    【解决方案1】:

    我在使用非 oss 版本时遇到了同样的问题。通过将 ElasticSearch 和 Kibana 升级到 7.13.2 来解决这个问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-03-07
      • 1970-01-01
      • 1970-01-01
      • 2017-05-25
      • 1970-01-01
      • 2014-11-26
      • 2016-12-30
      • 1970-01-01
      相关资源
      最近更新 更多