saranya dec19
saranya dec19

Reputation: 21

How to view the springboot logs stored on s3 bucket using loki promtail EKS

After enabling the loki on EKS with S3 storage, the folders (fake, index, loki_cluster_seed.json) are created inside the s3 bucket . What is this folders related to? Is there any clear explaination on how to view the application logs stored on the s3 bucket?

What this each folder consists & how the logs are stored as chunks to s3 bucket & how to view the logs inside s3 bucket or else how to convert it to human readable format:

Upvotes: 0

Views: 340

Answers (1)

Rohlik
Rohlik

Reputation: 1328

Hey there and welcome on StackOverflow. You question is not quite related to programming and thus it doesn't fully fit here. Next time, please use https://serverfault.com to get a better audience. However, let me answer your question.

Promtail is a component that collects logs from pods and sends them to Loki, which stores logs in a dedicated S3 bucket in special formats and structures as you already discovered.

This structure is not intended to be readable by a user directly. You need one other component - Grafana, which provides a web interface to retrieve these logs and potentially visualize them, see docs.

Upvotes: 0

Related Questions