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]


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM