Patterns issue


(aabababba) #1
[2019-01-28 00:00:10.925]-INFO-[biz:unknow539233145125633][sys:unknow539233165125632][?-?][][ID:32  time:10841ms]

[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]

how to get the time :10841ms?
[%{TIMESTAMP_ISO8601:logtime}]-%{LOGLEVEL:loglevel}-(\s)?[%{GREEDYDATA:sth1}][%{GREEDYDATA:sth2}][%{GREEDYDATA:sth3}][%{GREEDYDATA:sth4}][%{GREEDYDATA:sth5}:%{GREEDYDATA:cost}]
use this only get one line...