Easysearch、Elasticsearch 还是 Opensearch,是个问题

[求助] 安装完kibana6页面报错

Kibana | 作者 ruoxiaojie | 发布于2018年03月30日 | 阅读数:6014

Error: [illegal_argument_exception] maxConcurrentShardRequests must be >= 1
 
kibana配置
server.port: 5601
server.host: 0.0.0.0
elasticsearch.url: "http://192.168.200.136:9200"
logging.dest: /var/log/kibana.log
es配置
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
cluster.name: elk
node.master: true
node.data: false
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: ["192.168.200.135", "192.168.200.136", "192.168.200.137"]

 
 
 
 
已邀请:

l18586854856

赞同来自:

解决了吗,这个是什么问题呢?

yuhai

赞同来自:

是需要配置 max_concurrent_shard_requests 么? 
我kibana  启动的时候也报这个错误 ?
log   [10:19:37.637] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active
 error  [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)
 

要回复问题请先登录注册