我有点怀疑你在刷屏

filebeat如何过滤掉不要的日志

Beats | 作者 Florence | 发布于2020年09月08日 | 阅读数:4280

在我得日志有些是告警内容
2020-08-13 11:25:37,043 [366948] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0::ZooKeeperServer@868] - Client attempting to establish new session at /
2020-08-13 11:25:38,043 [366948] - ERROR [NIOServerCxn.Factory:0.0.0.0/0.0.0.0::ZooKeeperServer@868] - Client attempting to establish new session at /
2020-08-13 11:19:23,909 [8266] - WARN [WorkerSender[myid=2]:QuorumCnxManager@382] - Cannot open channel to 1 at election address bdms1.piccfs.cn/
java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
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)
at java.net.Socket.connect(Socket.java:589)
at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:368)
at org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:341)
at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:449)
at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:430)
at java.lang.Thread.run(Thread.java:748)

使用filebeat我如何把下面的Exception内容过滤了
我们没有打算使用Logstash
已邀请:

要回复问题请先登录注册