我正在尝试通过 docker-compose 升级 elasticsearch kibana 和 metricbeat。
这是代码。
ELK 工作正常,但 metricbeat 失败,我收到此错误,无法弄清楚我该如何解决:
MetricBeat 日志:
2020-05-09T19:27:03.353Z ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch(http://elasticsearch:9200)): Connection marked as failed because the onConnect callback failed: cannot retrieve the elasticsearch license from the /_xpack endpoint, Metricbeat requires the default distribution of Elasticsearch. Please make the endpoint accessible to Metricbeat so it can verify the license.: could not extract license information from the server response: unknown state, received: 'expired'
许可证已过期,但我希望没有它也能正常工作。