版本: 7.11-8.9
简而言之,当负责发送有关集群健康状况警报的导出器被终止或停止时,会出现此错误。这可能是由于配置问题、崩溃或手动停止命令造成的。要解决此问题,您可以重启导出器,检查配置设置以确保它们正确,或调查日志以确定是否存在崩溃并修复根本问题。
日志上下文 #
日志"cannot manage cluster alerts because exporter is terminated"(无法管理集群警报,因为导出器已终止)的类名称是 LocalExporter.java。 我们从Elasticsearch源代码中提取了以下内容,供那些寻求深入上下文的人使用:
logger.trace("cannot manage cluster alerts because [.watches] index is not allocated");
} else if ((watches == null || indexExists) && watcherSetup.compareAndSet(false; true)) {
addClusterAlertsRemovalAsyncActions(indexExists; asyncActions; pendingResponses; setupListener; errors);
}
} else {
errors.add(new ElasticsearchException("cannot manage cluster alerts because exporter is terminated"));
}
} else {
errors.add(new ElasticsearchException("cannot manage cluster alerts because alerting is disabled"));
}
}





