找到问题的解决办法了么?

patterns问题

Logstash | 作者 abababa | 发布于2019年01月30日 | 阅读数:1779

[2019-01-28 00:00:10.925]-INFO-[biz:unknow539233145125633][sys:unknow539233165125632][?-?][][任务执行完毕,任务ID:32  总共耗时:10841毫秒]

[2019-01-28 00:30:12.173]-INFO-[biz:][sys:][?-?][][DynamicServerListLoadBalancer for client dataservice-oms initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=dataservice-oms,current list of Servers=[172.19.0.102:10082],Load balancer stats=Zone stats: {defaultzone=[Zone:defaultzone;    Instance count:1;    Active connections count: 0;    Circuit breaker tripped count: 0;    Active connections per server: 0.0;]
},Server stats: [[Server:172.19.0.102:10082;    Zone:defaultZone;    Total Requests:0;    Successive connection failure:0;    Total blackout seconds:0;    Last connection made:Thu Jan 01 08:00:00 CST 1970;    First connection made: Thu Jan 01 08:00:00 CST 1970;    Active Connections:0;    total failure count in last (1000) msecs:0;    average resp time:0.0;    90 percentile resp time:0.0;    95 percentile resp time:0.0;    min resp time:0.0;    max resp time:0.0;    stddev resp time:0.0]
]}ServerList:org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList@7b35937f]

两条记录,怎么用patterns取出这个 总共耗时:10841毫秒?
\[%{TIMESTAMP_ISO8601:logtime}\]-%{LOGLEVEL:loglevel}-(\s)?\[%{GREEDYDATA:sth1}\]\[%{GREEDYDATA:sth2}\]\[%{GREEDYDATA:sth3}\]\[%{GREEDYDATA:sth4}\]\[%{GREEDYDATA:sth5}:%{GREEDYDATA:cost}\]
这样只匹配了一行。。。
已邀请:

要回复问题请先登录注册