# Patterns issue

**URL:** <https://discuss.elastic.co/t/patterns-issue/167964>\
**Category:** Logstash\
**Created:** [February 12, 2019, 6:31am UTC](https://discuss.elastic.co/t/patterns-issue/167964 "2019-02-12T06:31:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabababba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aabababba/32/36732_2.png) [@aabababba](https://discuss.elastic.co/u/aabababba)\
**Post date:** [February 12, 2019, 6:31am UTC](https://discuss.elastic.co/t/patterns-issue/167964/1 "2019-02-12T06:31:02Z")

</div>

```auto
[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...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 12, 2019, 6:31am UTC](https://discuss.elastic.co/t/patterns-issue/167964/2 "2019-03-12T06:31:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
