40 lines
883 B
Django/Jinja
40 lines
883 B
Django/Jinja
server:
|
|
http_listen_port: 3100
|
|
grpc_listen_port: 9096
|
|
common:
|
|
path_prefix: /loki
|
|
storage:
|
|
filesystem:
|
|
chunks_directory: /loki/chunks
|
|
rules_directory: /loki/rules
|
|
replication_factor: 1
|
|
ring:
|
|
instance_addr: 127.0.0.1
|
|
kvstore:
|
|
store: inmemory
|
|
schema_config:
|
|
configs:
|
|
- from: 2024-01-01
|
|
store: boltdb-shipper
|
|
object_store: filesystem
|
|
schema: v13
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
limits_config:
|
|
ingestion_rate_mb: 16
|
|
max_global_streams_per_user: 20000
|
|
retention_period: 0s
|
|
retention_stream:
|
|
- selector: '{job="syslog"}'
|
|
priority: 1
|
|
period: 720h # 30d
|
|
- selector: '{job="pve"}'
|
|
priority: 1
|
|
period: 2160h # 90d
|
|
chunk_store_config:
|
|
max_look_back_period: 720h
|
|
compactor:
|
|
working_directory: /loki/compactor
|
|
shared_store: filesystem
|
|
retention_enabled: true |