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

Read loki logs from s3 #15362

Open
stroeovidiu opened this issue Dec 11, 2024 · 5 comments
Open

Read loki logs from s3 #15362

stroeovidiu opened this issue Dec 11, 2024 · 5 comments

Comments

@stroeovidiu
Copy link

Hello,
I would like to know if it is possible to read the logs that are stored on s3. I have only the files on s3 and no dynamo, nothing to be able to query them.
Is there a tool to make this possible ?

Thank you !

@rgroothuijsen
Copy link
Contributor

If you want to look at the contents of an individual chunks file, chunks-inspect might be what you're looking for.

@stroeovidiu
Copy link
Author

Thank you very much for the swift response.
Is it possible to reindex/reingest these logs into into loki ?

@rgroothuijsen
Copy link
Contributor

If you want to move data from one Loki store to another, there's also migrate.

@stroeovidiu
Copy link
Author

Unfortunately i have only the s3 files .. will that work with migrate? From the read it appears that it doesn't.

Thank you !

@JStickler
Copy link
Contributor

Were the files stored in Loki format? If so, you can use LogCLI to query them. But if they're raw log files, you'd need to install a client and ingest them into Loki to be able to query/read them.

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

No branches or pull requests

3 participants