auth_enabled: false

server:
  http_listen_address: {{ loki['ip'] }}
  http_listen_port: {{ loki['port'] }}
  grpc_listen_address: {{ loki['ip'] }}
  grpc_listen_port: {{ loki['grpc-port'] }}

ingester:
  lifecycler:
    address: {{ loki['ip'] }}
    ring:
      kvstore:
        store: inmemory
      replication_factor: 1
  chunk_idle_period: 15m

schema_config:
  configs:
  - from: 2018-04-15
    store: boltdb
    object_store: filesystem
    schema: v9
    index:
      prefix: index_
      period: 168h

storage_config:
  boltdb:
    directory: {{ loki['storage-boltdb-dir'] }}

  filesystem:
    directory: {{ loki['storage-filesystem-dir'] }}

limits_config:
  enforce_metric_name: false
  reject_old_samples: true
  reject_old_samples_max_age: 168h

chunk_store_config:
  max_look_back_period: 0

table_manager:
  chunk_tables_provisioning:
    inactive_read_throughput: 0
    inactive_write_throughput: 0
    provisioned_read_throughput: 0
    provisioned_write_throughput: 0
  index_tables_provisioning:
    inactive_read_throughput: 0
    inactive_write_throughput: 0
    provisioned_read_throughput: 0
    provisioned_write_throughput: 0
  retention_deletes_enabled: false
  retention_period: 0
