Skip to content
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

Possibility to specify several rules for ttl. #158

Open
R-omk opened this issue May 12, 2022 · 1 comment
Open

Possibility to specify several rules for ttl. #158

R-omk opened this issue May 12, 2022 · 1 comment
Assignees
Labels
feature request help wanted Extra attention is needed

Comments

@R-omk
Copy link

R-omk commented May 12, 2022

Sometimes different types of logs require different retention periods. (Or eviction to cold storage).
To do this, it need the ability to distribute data across partitions over some subset of labels.

For example, I want to delete logs with a debug level in a couple of days, and keep all the rest much longer.
Or another example, I would like to move logs with some set of labels that can provide analytical value to cold storage volume (S3 drive type ).

related issue #75

@lmangani
Copy link
Collaborator

Good point, thanks for raising this! I guess we could implement some TTL-by-tag mechanism, but it might potentially ingestion down so it needs some discussion. cloki should work fine using the s3/minio storage engine, have you tried that already by any chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants