使用kibana的时候掌握一些高级查询用法,可以大大提升工作效果
field:word
: 字段field查找word字符,全匹配*
表示任意个字符?
表示一个字符{word}~{num}
:查找与word编辑距离num以内AND, OR, NOT以及使用圆括号
#
NOT @message:*CommonExceptionHandler
# @message不包含*CommonExceptionHandler,同时包含*ControllerAop,同时
NOT @message:*CommonExceptionHandler AND @message:*ControllerAop AND @host:9.138.165.177
@message:*LogAop OR @message:*HealthyController
(@message:*LogAop OR @message:*HealthyController) AND @host:9.138.164.185
@message:(*LogAop OR selectByIds) AND @host:9.138.164.185