Get 2 texts from this line:
[23/08/2019 09:30:00 351] [DEBUG] [Hilo:Thread-17905] [Clase:co.com.colombiamovil.activator.db.PoolFacade: getSiebelDirectConnection (81)] [Conexi???n establecida 7682 siebelDB: TMAC70580369126846, duraci???n: 90]
Output:
23/08/2019 09:30:00 | duraci???n: 90
or
23/08/2019 09:30:00 | 90
With this I take the duration:
grep "duraci???n: " ussdGw.log | cut -d" " -f16 | tr -d "]"
but I can't get the date out
Help me