kibana 测试版本: 5.5
官网日志:
query DSL:
增加了多条后
bool 后一级有 "must" "must_not" "filter"
- {
- "query": {
- "bool": {
- "must_not": [
- {
- "match": {
- "class": "example01"
- }
- },
- {
- "match": {
- "class": "example02"
- }
- },
- {
- "match": {
- "class": "example03"
- }
- },
- {
- "match": {
- "class": "example04"
- }
- }
- ]
- }
- }
- }
3. 直接在输入栏里输入:
NOT class:(example01 example02 example03 example04)
参考地址:
来源: http://www.bubuko.com/infodetail-3297872.html