File size: 1,166 Bytes
1f91376
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# https://github.com/grafana/loki/blob/811f5f015cd5da4e25d800307b905c3385406be3/docs/sources/configure/examples/configuration-examples.md

auth_enabled: false # default: true
# https://grafana.com/docs/loki/latest/configure/#server
server:
  http_listen_port: 3100 # default: 3100
  grpc_listen_port: 9095 # default: 9095
  log_level: info # default: info
  log_format: json # default: logfmt
limits_config:
  allow_structured_metadata: true # needed for OTEL
  volume_enabled: true # not sure what this does
common:
  ring:
    instance_addr: 0.0.0.0
    kvstore:
      store: inmemory
  replication_factor: 1
  path_prefix: /tmp/loki
storage_config:
  tsdb_shipper:
    active_index_directory: /tmp/loki/index
    cache_location: /tmp/loki/index_cache
  filesystem:
    directory: /tmp/loki/chunks
pattern_ingester:
  enabled: true
analytics:
  reporting_enabled: false # default: true
tracing:
  enabled: true # default: false
# https://grafana.com/docs/loki/latest/configure/#schema_config
schema_config:
  configs:
    - from: 2020-05-15
      store: tsdb
      object_store: filesystem
      schema: v13
      index:
        prefix: index_
        period: 24h