-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Store applications persist logs (human-readable) to disk or S3 Storage. #766
Comments
Nevertheless I see the use-case of archiving the logs to a human readable long term storage.
|
I definitively think this is a nice to have, we could indeed create a small tool to uncompress chunks. |
We are in pursuit of something similar. What we concluded based on our research is that loki is much more suitable for what we call hot logs (age < 7(x) days). This is where we want the magic of mixing metrics and logs. The logs which are usually older than x days should be persisted in s3. Our proposed solution is Our concerns:
|
I have to disagree. You can use loki for hot logs but also for long term storage.
Yep, I agree, I hope someone in the team will have time for this soon enough.
/cc @sandlis he is the king of retention ;) |
I do agree with the fact that Loki take care of retrieval and management of logs for long duration. Though what I meant is not capabilities of tool but the usage. For older logs, we tend to use agreegation on logs. What we observed is with limited index the kind of aggregation which we done on logs are very limited. For e.g we want to find which services observed maximum restarts or highest p90-p50 delta etc. If this is supported and optimised we would be happy to use that. |
We do have retention in place. More details about it here.
I guess when this PR from @Kuqd gets merged you can do that. |
@sh0rez Is there any progress on the same? |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
hi @sh0rez, if the solution has not been built yet, could you please share, how to do it via API call, so that I can study and create some script or mechanism where I can directly backed up logs to S3 storage. |
Hi, I have paused developing this mostly because there was no real client library available at that moment. This has changed / will change soon because of the API refactor, then I will look into it! |
Hi, is there any update on this use case? |
No updates on this? |
any update on this? |
Is there any solution for the above? @sandeepsukhani the link in your reply #766 (comment) is https://github.com/grafana/loki/blob/master/docs/operations.md#retentiondeleting-old-data - which is not accessible. Can you please update the same? |
Any update on this? Or any solutions about archive log in Loki? |
I'm looking for the similar feature is there any update? |
Is your feature request related to a problem? Please describe.
Currently logs are written in Chunks which can only be readable by Grafana. There is no way if I want to download it to human readable file logs.
Describe the solution you'd like
Loki can parallelly send the applications logs in human-readable (json, raw) to disk or S3 Storage, so that we can preserve it for longer time and can share the logs to third party, if needed.
The text was updated successfully, but these errors were encountered: