You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first issue/question I have is, should I use the word s3 or aws when setting shared_store and object_store options. Documents and tutorials use sometimes s3 and sometimes aws.
The second thing which is not clear to me is how loki containers actually use S3 storage. When all containers are marked as Running, the S3 bucket remains empty. It remains empty even after that until I manually remove pods so that k8s can recreate them. This is the moment when data are flushed to S3. How can I verify that everything works correctly? Is there an amplitude by which the containers upload data to S3? How exactly data are later read from S3? Btw, I don't see any errors inside containers. It's not clear how this is supposed to work. I would ask a ninja to write a detailed explanation on this topic so I/we can follow the instructions and be safe that the system works as expected.
The text was updated successfully, but these errors were encountered:
loki won't send logs to s3 if no new logs are created. So make sure new logs are created while loki is running (check loki-gateway pod logs to see if new POST requests are received). Also use chunk_idle_period: 1m if you want to see your s3 updated quicklier.
Also make sure that aws user with your XXX:YYY secrets has relevant policies attached so it can access s3.
And regarding storage_config, I'm using shared_store: s3 ,and that works for me.
I think I successfully installed loki-distrubuted and promtail on k8s using
helm
.I followed the documentation on
aws/s3
and made the required changes in thevalues.yaml
file:The first issue/question I have is, should I use the word
s3
oraws
when settingshared_store
andobject_store
options. Documents and tutorials use sometimess3
and sometimesaws
.The second thing which is not clear to me is how
loki
containers actually use S3 storage. When all containers are marked asRunning
, the S3 bucket remains empty. It remains empty even after that until I manually remove pods so that k8s can recreate them. This is the moment when data are flushed to S3. How can I verify that everything works correctly? Is there an amplitude by which the containers upload data to S3? How exactly data are later read from S3? Btw, I don't see any errors inside containers. It's not clear how this is supposed to work. I would ask a ninja to write a detailed explanation on this topic so I/we can follow the instructions and be safe that the system works as expected.The text was updated successfully, but these errors were encountered: