-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Unable to lookback logs older than 2-3h max(random number) #11301
Comments
Questions have a better chance of being answered if you ask them on the community forums. |
i get the same problem,have you fix it ? |
Try changing your S3 configuration to:
You can also double check your configuration with the |
Am experiencing somewhat similar issue, except I am using tsdb. The S3 is onprem minio... Write to S3 doesn't seem to be an issue, just when reading. My config: storage:
type: s3
s3:
region: null
endpoint: http://10.10.10.10:80/loki-logging
accessKeyId: xyz
secretAccessKey: zyx
s3ForcePathStyle: true
insecure: true
storage_config:
tsdb_shipper:
shared_store: s3
schemaConfig:
configs:
- index:
period: 24h
prefix: index_
object_store: s3
schema: v12
store: tsdb |
I have setup loki to collect logs from my docker swarm cluster and push it to s3, this works great for day to day use but if i want to see logs older than a particular time which seems to be random, i am unable to get the logs.
I can see all the logs being availabe in s3 but cant query them in loki.
Loki Config
promtail-config
how do i fix this?
The text was updated successfully, but these errors were encountered: