Files

42 lines
930 B
Django/Jinja

# This is a complete configuration to deploy Loki backed by the filesystem.
# The index will be shipped to the storage via tsdb-shipper.
auth_enabled: false
server:
http_listen_port: 3100
schema_config:
configs:
- from: 2024-04-01
store: tsdb
object_store: s3
schema: v13
index:
prefix: index_
period: 24h
common:
path_prefix: /loki
storage:
s3:
bucketnames: {{ env_vars.LOKI_S3_BUCKET }}
endpoint: {{ env_vars.LOKI_S3_ENDPOINT }}
access_key_id: {{ env_vars.LOKI_S3_KEY_ID }}
secret_access_key: {{ env_vars.LOKI_S3_ACCESS_KEY }}
insecure: false
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
storage_config:
tsdb_shipper:
active_index_directory: /loki/index
cache_location: /loki/index_cache
cache_ttl: 24h
aws:
s3: "{{ env_vars.LOKI_S3_URL }}"
object_prefix: "loki/"