我有点怀疑你在刷屏

kibana 连接 CCS 如何配置

Kibana | 作者 dragon434 | 发布于2019年05月08日 | 阅读数:2675

CCS 是集群使用 命令行完全可以查询,查询语句为:
curl -XPOST -H 'Content-Type: application/json' 192.168.92.132:9204/a128:test2,c129:test2,t130:test2/_search?pretty
查询远程集群相关信息也是可以查询到的:curl -XGET -H 'Content-Type: application/json' 192.168.92.132:9204/_remote/info?pretty



kibana 6.3.2 配置如下:
server.port: 5604
server.host: "192.168.92.132"
elasticsearch.url: "http://192.168.92.132:9204"
console.enabled: false
logging.dest: /mnt/proxy/elk6.3.2/kibanaccs/logs/kibana.log


但是启动就报错,信息:
{
"type": "error",
"@timestamp": "2019-05-06T07:45:53Z",
"tags": ["warning", "monitoring-ui", "kibana-monitoring"],
"pid": 18674,
"level": "error",
"error": {
"message": "[illegal_argument_exception] maxConcurrentShardRequests must be >= 1",
"name": "Error",
"stack": "[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}\"}\n at respond (/mnt/proxy/elk6.3.2/kibanaccs/node_modules/elasticsearch/src/lib/transport.js:307:15)\n at checkRespForFailure (/mnt/proxy/elk6.3.2/kibanaccs/node_modules/elasticsearch/src/lib/transport.js:266:7)\n at HttpConnector.<anonymous> (/mnt/proxy/elk6.3.2/kibanaccs/node_modules/elasticsearch/src/lib/connectors/http.js:159:7)\n at IncomingMessage.bound (/mnt/proxy/elk6.3.2/kibanaccs/node_modules/elasticsearch/node_modules/lodash/dist/lodash.js:729:21)\n at emitNone (events.js:111:20)\n at IncomingMessage.emit (events.js:208:7)\n at endReadableNT (_stream_readable.js:1064:12)\n at _combinedTickCallback (internal/process/next_tick.js:138:11)\n at process._tickCallback (internal/process/next_tick.js:180:9)"
},
"message": "[illegal_argument_exception] maxConcurrentShardRequests must be >= 1"
}
请教:kibana 应该添加修改哪些配置 才能 连接到 CCS,做到可以从kibana 跨集群查询
已邀请:

dragon434

赞同来自:

后来检查出来,CCS集群需要开启node.data:true,之后kibana就可以直接添加索引查看了

要回复问题请先登录注册