failed to flush export bulk [default_local]

在部署 ElasticSearch7.x 时,启动节点报错

Caused by: org.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flush export bulk [default_local]

Caused by: java.lang.IllegalStateException: There are no ingest nodes in this cluster, unable to forward request to an ingest node.

报错分析


1. 缺少 ingest 节点

2. 创建monitor相关索引时,需要调用 bulk api

添加 ingest 节点后的日志记录

[2021-11-11T14:42:18,133][INFO ][o.e.c.m.MetadataCreateIndexService] [es_10.162.17.15_9253] 
[.monitoring-es-7-2021.11.11] creating index, cause [auto(bulk api)], 
templates [.monitoring-es], shards [1]/[0]
远方不一定有诗,但有更好的自己!你我共勉!
原文地址:https://www.cnblogs.com/cuisi/p/15540166.html