kibana split
.es(index=event_loan, q="+kps:submit_ok -item.backend_id:test*", timefield=datatime, split=item.item_name:10,metric=cardinality:token.user_id)
.label(regex='.* item.item_name:(.*) > .*', label='进件用户数:$1')
升级,重平衡
GET _cluster/settings
PUT _cluster/settings
PUT _cluster/settings
{
"persistent": {
"cluster": {
"routing": {
"rebalance":{"eable": "none"},
"allocation.enable": "none"
}
}
}
}
1、升级完1台后,改为"all",
2、变成绿色后,再配置
内存优化
- fielddata
GET /_cat/fielddata?s=size:desc