Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Sending Log file as an attachment using tsendmail

Hi,
I want to send the the logs created by tLogCatcher, tStatCatcher, tFlowMeterCatcher at the end of each job as an "attachment file" using tSendMail. I couldnt figure out how to save the file context.File_StatsCatcher at any destination so i can attach it in the mail. Please help me with this.

Regards
Asif
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi
Create job as follow.
tStatCatcher --> tFileOutputDelimited
|
OnSubjobOk
|
tSendMail
Regards,
Pedro

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Hi
What do you mean "context.File_StatsCatcher"?
You can link tStatCatcher with tFileOutputDelimited.
tStatCatcher --> tFileOutputDelimited
Regards,
Pedro
Anonymous
Not applicable
Author

Sorry let me rephrase...I meant to say how can i save log to txt file and than email as attachment.
Anonymous
Not applicable
Author

Hi
Create job as follow.
tStatCatcher --> tFileOutputDelimited
|
OnSubjobOk
|
tSendMail
Regards,
Pedro
Anonymous
Not applicable
Author

Thanks Perdo I got the idea. One last thing, is it possible i create an independent (generic) job like you said above and somehow link it with rest of my jobs so i could get emails for each job.
Regards
Asif
Anonymous
Not applicable
Author

Hi Asif
If you are the user of Talend Integration Suite(Commercial Version), you can create a joblet for this stuff.
Then you can add this joblet like a custom component into any new jobs.
Regards,
Pedro
Anonymous
Not applicable
Author

Okay I think I am using the community version. Thanks for the help 0683p000009MACn.png

Regards
Asif