[***@monitor ~]$ cat arq
{"timestamp":"2018-08-22T00:00:31.076-03:00","version":1,"message":"Ativacao
finalizada.","logger_name":"com.teste.domain.service.impl.ActivateServiceImpl","level":"INFO","HOSTNAME":"venom-score-offers1","X-B3-TraceId":"92wsda0sdgfhc9238","X-Span-Export":"true","X-B3-SpanId":"92wsda0sdgfhc9238","msisdn":"5512999999999","request":{"linha":{"numeroLinha":"12999999999"},"oferta":{"token":"TW180822000019877ebe","canalAtendimento":"NDescont"},"numeroLinha":"12999999999"},"response":{"codigo":"M0"},"integrationResponseTime":2439,"application":"project.artifactId_IS_UNDEFINED","hostname":"vemvem-teste-Ssfers1"}
{"timestamp":"2018-08-22T00:00:31.076-03:00","version":1,"message":"Ativacao
finalizada.","logger_name":"com.teste.domain.service.impl.ActivateServiceImpl","level":"INFO","HOSTNAME":"venom-score-offers1","X-B3-TraceId":"92wsda0sdgfhc9238","X-Span-Export":"true","X-B3-SpanId":"92wsda0sdgfhc9238","msisdn":"5512994449598","request":{"linha":{"numeroLinha":"12999999999"},"oferta":{"token":"TW180822000019877ebe","canalAtendimento":"NDescont"},"numeroLinha":"12994449598"},"response":{"codigo":"M0"},"integrationResponseTime":2439,"application":"project.artifactId_IS_UNDEFINED","hostname":"vemvem-teste-Ssfers1"}
[***@monitor ~]$ awk -F '[T."]' '{print $4" "$5}' arq
2018-08-22 00:00:31
2018-08-22 00:00:31
Post by Cesar Rodrigues ***@gmail.com [shell-script]Desculpe meus caros.
{"*timestamp":"2018-08-22T00:00:31.076-03:00*","version":1,"message":"Ativacao
finalizada.","logger_name":"com.teste.domain.service.impl.ActivateServiceImpl","level":"INFO","HOSTNAME":"venom-score-offers1","X-B3-TraceId":"92wsda0sdgfhc9238","X-Span-Export":"true","X-B3-SpanId":"92wsda0sdgfhc9238","msisdn":"5512999999999","request":{"linha":{"numeroLinha":"12999999999"},"oferta":{"token":"TW180822000019877ebe","canalAtendimento":"NDescont"},"numeroLinha":"12999999999"},"response":{"codigo":"M0"},"integrationResponseTime":2439,"application":"project.artifactId_IS_UNDEFINED","hostname":"vemvem-teste-Ssfers1"}
{"*timestamp":"2018-08-22T00:00:31.076-03:00*","version":1,"message":"Ativacao
finalizada.","logger_name":"com.teste.domain.service.impl.ActivateServiceImpl","level":"INFO","HOSTNAME":"venom-score-offers1","X-B3-TraceId":"92wsda0sdgfhc9238","X-Span-Export":"true","X-B3-SpanId":"92wsda0sdgfhc9238","msisdn":"5512994449598","request":{"linha":{"numeroLinha":"12999999999"},"oferta":{"token":"TW180822000019877ebe","canalAtendimento":"NDescont"},"numeroLinha":"12994449598"},"response":{"codigo":"M0"},"integrationResponseTime":2439,"application":"project.artifactId_IS_UNDEFINED","hostname":"vemvem-teste-Ssfers1"}
Idem, ibidem
Diramos
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Enviada: 2018/08/23 14:08:43
Assunto: Re: [shell-script] SubstituÃção de cadeias com sed
--
Att.:
Jonathan Lessa
Licenciado em Informática