Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
MEDHA07
Contributor III
Contributor III

Text log files to read specific line for multiple logs which are available in different folders

Hi All,

I am capturing the policy data.when we have issue  policy it will go to relevant team for approval.sometimes due server issue we will get resent notification multiple times for one id or more than.

I have 4 different folders and each one have logs.Now I need to go to each folder and read the each log and identify the request id.below is the key to identify request id.Initially it will start with the time stamp and the same line somewhere my content will be aviliable.

Folder1 

  log1.txt

log2.txt

log.txt3

Folder 2

  log1.txt

log2.txt

log.txt3

Key :"Provided requestid :12345 " ( No specific length for number it may increase)

Ex:I need to get time stamp and request id from the same line.

2021-08-13 00:00:00 ***** ******* ***************** ***************Provided requestid :12345 **** ******* *****

*********************************************************** *********

*********

0 Replies