Open bcarlock-emerge opened 2 years ago
I have been working on this for two days. there's a strange question. loki saved log data to s3 under path bucket name, like s3://bucket/index/index_12345. it's unexpected. the queier still query data under root path like s3://index/index_12345
In our case the issue was probably just unclear documentation. In this bit of our config, setting reject_old_samples to false allowed the migrated logs to be queried. I'm not sure you should have to disable reject_old_samples when all of the samples are newer than the reject_old_samples_max_age... In our case, we did.
limits_config:
ingestion_rate_strategy: local
ingestion_burst_size_mb: 100
max_streams_per_user: 100000
ingestion_rate_mb: 500
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 336h
Describe the bug Boltdb-shipper data migrated between storage accounts never becomes queryable
To Reproduce Steps to reproduce the behavior:
Expected behavior Data is accessible and can be queried
Environment:
Screenshots, Promtail config, or terminal output If applicable, add any output to help explain your problem.
Loki config: