Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/docs/sources/configure/examples/yaml/7-Schema-Migration-Snippet....

23 lines
651 B

schema_config:
configs:
# Starting from 2018-04-15 Loki should store indexes on BoltDB with the v11 schema
# using daily periodic tables and chunks on filesystem.
# The index tables will be prefixed with "index_".
- from: "2018-04-15"
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
period: 24h
prefix: index_
# Starting from 2023-6-15 Loki should store indexes on TSDB with the v12 schema
# using daily periodic tables and chunks on AWS S3.
- from: "2023-06-15"
store: tsdb
object_store: s3
schema: v12
index:
period: 24h
prefix: index_