kibana过滤器缺少子串

gay*_*vat 18 elasticsearch kibana

如何对kibana提出这样的要求?

where field does not contain substring
Run Code Online (Sandbox Code Playgroud)

很容易创建像这样的过滤器field: substring.既不是not "substring",field: not(substring)field: not(*substring*)不起作用

Nes*_*aev 19

要添加到上面的答案(这使我走上正轨),这是一个真实的例子:

NOT message:(view.html)
Run Code Online (Sandbox Code Playgroud)

这假设我有一个提交的"消息",这是Java日志的标准.或者,您可以将其与其他标准结合使用:

pension AND NOT message:(view.html)
Run Code Online (Sandbox Code Playgroud)

这将搜索所有出现的"养老金",不包括与"view.html"一起出现的那些


gay*_*vat 17

-field: "tracker"作品!不幸的是,我没有在文档中找到它,只是在这里http://logs101.com/how-to-overcome-the-missing-editable-filters-feature-in-kibana-4/

  • 对于它的价值,这些信息可以在官方文档中找到[这里](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html# _boolean_operators) (4认同)