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]
上一篇:Web---HTTP请求、重定向、转发和数据压缩


下一篇:【Transformer养猪】Livestock Monitoring with Transformer