从nginx日志中排除行

时间:2019-12-24 09:46:26

标签: regex filebeat

如何排除整个行,例如10.96.129.101--[16 / Dec / 2019:15:43:08 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-这些日志中的“”-“”-“”-“

10.96.129.102--[18 / Dec / 2019:20:04:11 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.101--[18 / Dec / 2019:20:04:12 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.102--[18 / Dec / 2019:20:04:16 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.101--[18 / Dec / 2019:20:04:17 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.102--[18 / Dec / 2019:20:04:21 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.101--[18 / Dec / 2019:20:04:22 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.213.59.146--[18 / Dec / 2019:20:04:24 +0000]“ 10.213.91.3”“ GET / health HTTP / 1.1” 200 9“-”“ kube-probe / 1.14”“-”“- “”-“ 10.96.129.102--[18 / Dec / 2019:20:04:26 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.101--[18 / Dec / 2019:20:04:27 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.102--[18 / Dec / 2019:20:04:31 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.101--[18 / Dec / 2019:20:04:32 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.213.59.146--[18 / Dec / 2019:20:04:32 +0000]“ 10.213.91.3”“ GET / health HTTP / 1.1” 200 9“-”“ kube-probe / 1.14”“-”“- “”-“ 10.96.129.102--[18 / Dec / 2019:20:04:36 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.96.129.101--[18 / Dec / 2019:20:04:37 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 10.213.59.146--[18 / Dec / 2019:20:04:39 +0000]“ 10.213.91.3”“ GET / health HTTP / 1.1” 200 9“-”“ kube-probe / 1.14”“-”“- “”-“ 10.96.129.102--[18 / Dec / 2019:20:04:41 +0000]“”“ HEAD / health HTTP / 1.0” 200 0“-”“-”“-”“-”“-” 应该通过filebeat收集。

0 个答案:

没有答案