have a log file , having multiple contents inside the file like and example below is the content of U123.log . I have n number of logs..
Accepted password for hoover from 10.0.2.2 port 4792 ss
Id : UN123P
ID_MTCH : UnixProduction
Accepted password for hoover from 10.0.2.2 port 4792 ss
Accepted password for hoover from 10.0.2.2 port 4792 ss
Is there any we can fetch Id : UN123P
& ID_MTCH
from each log as an output of linux command. We have some 1000's of logs and from all the logs , trying to fetch the value only starts with ID :
& ID_MTCH
and sample output as below
Id : UN123P
ID_MTCH : UnixProduction
Pls suggest