0
我想過濾我的Kibana日誌。在這些地方有堆棧跟蹤有很多堆棧跟蹤。我想不顯示一些堆棧跟蹤類型。在此https://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-regexp-query.html如何正則表達Kibana過濾器?
這是不行的,所有的ConnectException S:
爲此,我添加篩選出價值過濾器堆棧跟蹤與以下值:
{
"query": {
"regexp": {
"stacktrace": "+ConnectException+"
}
}
}
其記錄在這裏例如:
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java) ~[na:1.8.0_102]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
我想你需要'@&〜'(*的ConnectException。) –