Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

Custom macro for deleting job logs based on number of runs

hisyam
Level 3
Custom macro for deleting job logs based on number of runs

Hi all,

Is there a way for us to create a custom macro where it would delete the job logs in a project based on the number of runs?

For example, if my project has accumulated 100 job logs, by executing the custom macro, it would only retain the last 10 runs regardless of how old the job logs are.

Could you provide a sample of the code?

Thanks


Operating system used: Linux

0 Kudos
1 Reply
hisyam
Level 3
Author

Or better yet, is there any possible way for us to retrieve the code for the built-in macros in Dataiku DSS?

0 Kudos