我正在使用Logstash解析和过滤数据。输入数据如下所示:
------------------------------------------------------
Environment File - 12/07/2018 09:31:19
------------------------------------------------------
-- File Name: org/apache/catalina/core/ContainerBase/jboss/web/default-host/........... Path
------------------------------------------------------
Reading Environment Error File - 12/07/2018 09:31:19
------------------------------------------------------
-- File Name: org/apache/catalina/core/ContainerBase/jboss/web/default-host/.....
org/apache/catalina/core/ContainerBase/jboss/web/default-host........
.....Path. Fri Dec 7 09:31:18 2018
Lock failed on recovery file org/apache/catalina/core/ContainerBase/jboss/web/default-host/
because the .......
....... text.
------------------------------------------------------
Reading Error Files - 12/07/2018 09:31:19
------------------------------------------------------
错误消息包含多行并且没有通用模式。如何仅从日志中过滤错误?