不为失败找理由,要为成功找方法。

虚拟环境下 kibana6.3.1 无法连接 elasticsearch6.3.1

Kibana | 作者 yuhai | 发布于2019年04月11日 | 阅读数:4746

虚拟环境下 kibana6.3.1 启动时提示:
rror [10:19:47.658] [warning][kibana-monitoring][monitoring-ui] [illegal_argument_exception] maxConcurrentShardRequests must be >= 1 :: {"path":"/.kibana/_search","query":{"ignore_unavailable":true,"filter_path":"aggregations.types.buckets"},"body":"{\"size\":0,\"query\":{\"terms\":{\"type\":[\"dashboard\",\"visualization\",\"search\",\"index-pattern\",\"graph-workspace\",\"timelion-sheet\"]}},\"aggs\":{\"types\":{\"terms\":{\"field\":\"type\",\"size\":6}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"maxConcurrentShardRequests must be >= 1\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"maxConcurrentShardRequests must be >= 1\"},\"status\":400}"}
at respond (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/transport.js:307:15)
at checkRespForFailure (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/transport.js:266:7)
at HttpConnector.<anonymous> (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/connectors/http.js:159:7)
at IncomingMessage.bound (/usr/Es/kibana6.3.1/node_modules/elasticsearch/node_modules/lodash/dist/lodash.js:729:21)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
log [10:19:47.659] [warning][kibana-monitoring][monitoring-ui] Unable to fetch data from kibana collector
error [10:19:47.672] [warning][kibana-monitoring][monitoring-ui] [illegal_argument_exception] maxConcurrentShardRequests must be >= 1 :: {"path":"/.reporting-*/_search","query":{"filter_path":"hits.total,aggregations.jobTypes.buckets,aggregations.objectTypes.buckets,aggregations.layoutTypes.buckets,aggregations.statusTypes.buckets"},"body":"{\"size\":0,\"aggs\":{\"jobTypes\":{\"terms\":{\"field\":\"jobtype\",\"size\":2}},\"objectTypes\":{\"terms\":{\"field\":\"meta.objectType.keyword\",\"size\":3}},\"layoutTypes\":{\"terms\":{\"field\":\"meta.layout.keyword\",\"size\":3}},\"statusTypes\":{\"terms\":{\"field\":\"status\",\"size\":4}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"maxConcurrentShardRequests must be >= 1\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"maxConcurrentShardRequests must be >= 1\"},\"status\":400}"}
at respond (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/transport.js:307:15)
at checkRespForFailure (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/transport.js:266:7)
at HttpConnector.<anonymous> (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/connectors/http.js:159:7)
at IncomingMessage.bound (/usr/Es/kibana6.3.1/node_modules/elasticsearch/node_modules/lodash/dist/lodash.js:729:21)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
log [10:19:47.673] [warning][kibana-monitoring][monitoring-ui] Unable to fetch data from reporting_stats collector
error [10:19:57.664] [warning][kibana-monitoring][monitoring-ui] [illegal_argument_exception] maxConcurrentShardRequests must be >= 1 :: {"path":"/.kibana/_search","query":{"ignore_unavailable":true,"filter_path":"aggregations.types.buckets"},"body":"{\"size\":0,\"query\":{\"terms\":{\"type\":[\"dashboard\",\"visualization\",\"search\",\"index-pattern\",\"graph-workspace\",\"timelion-sheet\"]}},\"aggs\":{\"types\":{\"terms\":{\"field\":\"type\",\"size\":6}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"maxConcurrentShardRequests must be >= 1\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"maxConcurrentShardRequests must be >= 1\"},\"status\":400}"}
at respond (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/transport.js:307:15)
at checkRespForFailure (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/transport.js:266:7)
at HttpConnector.<anonymous> (/usr/Es/kibana6.3.1/node_modules/elasticsearch/src/lib/connectors/http.js:159:7)
at IncomingMessage.bound (/usr/Es/kibana6.3.1/node_modules/elasticsearch/node_modules/lodash/dist/lodash.js:729:21)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

说明:kibana 和es 版本是一致的。
已邀请:

wzfxiaobai - 90后it民工

赞同来自: yuhai

你的配置文件贴上来,应该你配置文件没写对,还有就是你的虚机资源不够,需要修改一些配置参数

yuhai

赞同来自:

感谢

要回复问题请先登录注册