三人行必有我师

kibana query 大于值问题。

Kibana | 作者 abababa | 发布于2018年12月20日 | 阅读数:5276

GET filebeat-*/_search
{
  "query": {
      "bool": {
        "must": [
        {
           "query_string": {
            "analyze_wildcard": true,
             "query": "message:>1000,
             "fuzzy_max_expansions": 50
         }
       
           },
       {
                  "range": {
                    "@timestamp": {
                      "gte": "now-5m",
                      "lte": "now",
                      "format": "epoch_millis"
                    }
                  }
                }
       ]
     }
   }
}

条件是大于1000才取值 ,但是结果500多的也出来的。。。
 
已邀请:

trycatchfinal

赞同来自: abababa

message是否数字?如果是字符串,500是大于1000的

要回复问题请先登录注册