curl -XPOST "http://10.1.4.28:9200/log_alarm-2020*/_search" -H 'Content-Type: application/json' -d '{"query": {"match_all": {}},"aggs": {"tern": {"terms": {"field": "ruleId","size": 200}}}}'

  

posted on 2020-09-09 15:59  bainianminguo  阅读(98)  评论(0)    收藏  举报