Files
documentazione/develop/loki-config.yaml

43 lines
848 B
YAML

auth_enabled: false
server:
http_listen_port: 3100
ingester:
lifecycler:
ring:
kvstore:
store: inmemory
replication_factor: 1
chunk_idle_period: 5m
chunk_retain_period: 30s
wal:
dir: /loki/wal
max_transfer_retries: 0
schema_config:
configs:
- from: 2025-08-08
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
storage_config:
tsdb_shipper:
active_index_directory: /loki/tsdb-index
cache_location: /loki/tsdb-cache
shared_store: filesystem
filesystem:
directory: /loki/chunks
limits_config:
allow_structured_metadata: true
retention_period: 168h # 7 giorni, puoi aumentare se vuoi
compactor:
working_directory: /loki/compactor
shared_store: filesystem