10000 Automatically clean up old ELT logs · Issue #2420 · meltano/meltano · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Automatically clean up old ELT logs #2420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MeltyBot opened this issue Dec 1, 2020 · 5 comments
Open

Automatically clean up old ELT logs #2420

MeltyBot opened this issue Dec 1, 2020 · 5 comments

Comments

@MeltyBot
Copy link
Contributor
MeltyBot commented Dec 1, 2020

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2465

Originally created by @ivanovzlatan2 on 2020-12-01 17:52:27


Problem to solve

Meltano generates log files in the following directories:

.../.meltano/run/elt/...

.../.meltano/run/airflow/logs

The log files are taking up a lot of space, that's why it would be good to have a solution of regular cleanup of old log files.

Target audience

Target audience is everyone that is using Meltano scheduler and has limited disk space.

Proposal

Introducing a custom config for Meltano automatic log cleanup and retaining with options for how many days to retain the log files (7d/30d/60d).

Current workaround

One can set up own cron job to automatically delete files with an old creation/modification date

Links / references

@MeltyBot
Copy link
Contributor Author

@stale
Copy link
stale bot commented Apr 27, 2023

This has been marked as stale because it is unassigned, and has not had recent activity. It will be closed after 21 days if no further activity occurs. If this should never go stale, please add the evergreen label, or request that it be added.

@stale stale bot added the stale label Apr 27, 2023
@tayloramurphy
Copy link
Collaborator

Still relevant

@stale stale bot removed the stale label May 11, 2023
Copy link
stale bot commented Nov 9, 2024

This has been marked as stale because it is unassigned, and has not had recent activity. It will be closed after 21 days if no further activity occurs. If this should never go stale, please add the evergreen label, or request that it be added.

@edgarrmondragon
Copy link
Collaborator

Proposing here that this should be

$ meltano logs clear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0