My log file has below pattern :-
tx=267c5660-c49a-4ae7-b5ae-c9d43e23b617, rh=163.172.0.0, userId=-1, requestComplete={ requestId=74421156932, entityResourceType=xyz, pageId=homePage, uri=/home/, duration(ms)=422
How can i grep for just a specific field like uri
or duration
or combination of both like uri
and duration
.
Basically when i use tail command,I want in the o/p just 2 fields uri and duration.