主要是因为分片所至,只有一个主分片,没有副分片。在创建索引的时候 增加了副分片
直接在黑窗口执行
curl -XPUT http://www.baidu.com:4049/_settings?pretty -d '{ "index": { "number_of_replicas": 0 } }' -H "Content-Type: application/json"
在Kibana执行如下命令即可
PUT /_settings
{
"number_of_replicas": 0
}