Skip to content

How to clenup table event_logs? #12985

Answered by tacastillo
VA-PLE asked this question in Q&A
Mar 16, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

#12047

Hey Vasyl! Have you seen this post on how to programmatically clean up the event logs? The summary is that you can use DagsterInstance.get(), fetch the run logs from there, and then delete those runs and their logs.

I don't believe there is a way to set a retention policy, but I'll take that feedback back to the team!

If that satisfies your needs, I'll mark this discussion as a duplicate of that linked one!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@VA-PLE
Comment options

@luqmansen
Comment options

@abuchmueller
Comment options

Answer selected by VA-PLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: logging Related to Logging area: storage Related to persistent storage
4 participants