I have had an installation of Loki set up for a while now, and I use Grafana as the interface to access the logs. It seems like I can only access logs up to 24h old, so I took a look at my Loki config, where I have the following schema config:
schema_config: configs: - from: 2018-04-15 store: boltdb-shipper object_store: aws schema: v11 index: prefix: loki_index_ period: 24h
I tried to add an additional config to the list, like so:
- from: 2021-04-21 store: boltdb-shipper object_store: aws schema: v11 index: prefix: loki_index_ period: 168h
However, when I deploy this config and restart Loki it fails saying that future date schema configurations must have the period set to 24h. Am I going about this the right way? How can I update my schema so I can access logs older than 24h?