介绍kibana经常使用的功能
查询:
# 查询内容不为空的数据,并返回总数量
GET mp_article/_search?rest_total_hits_as_int=true
{
"query": {
"bool": {
"must":[
{
"wildcard": {"content": "*"}
}
]
}
}
}
设置:
GET mp_account/_settings
GET mp_article/_settings
PUT mp_article/_settings
{
"max_result_window": 100000
}