Skip to main content
Solved

Can the Translation Log output be using in a workbench as attributes?

  • March 10, 2023
  • 3 replies
  • 29 views

Forum|alt.badge.img

Hi all,

 

I'm using the AmazonAthenaConnector to query an Athena database.

In the Translation Log I'm seeing:

 

"2023-03-10 09:04:27| 6.1| 0.0|INFORM|AmazonAthenaConnector: Query ran successfully. Run time: 5.225 seconds. Data scanned: 27694.09 kB"

 

I'd like to use the info on the file size / Data scanned to do some cost calculation.

 

1: Is there a way to incorporate the output of the Translation Log as attributes in the workbench?

 

Alternatively I guess I could load the .log file in a workbench and use that for the calculations...

2: I am wondering , can I run the main translation AND the .log file in the same workbench? (wait for the main translation to have finished so it can read in the log file and perform operations on that.)

 

 

 

Best answer by nielsgerrits

You are probably looking for the LogMessageStreamer?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • Best Answer
  • March 10, 2023

You are probably looking for the LogMessageStreamer?


Forum|alt.badge.img
  • Author
  • 60 replies
  • March 10, 2023

That's what I was looking for.

 

Dank je Niels!


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • March 10, 2023

That's what I was looking for.

 

Dank je Niels!

Graag gedaan :)