auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9095
log_format: json
log_level: info
limits_config:
ingestion_rate_strategy: global
enforce_metric_name: true
reject_old_samples: false
max_cache_freshness_per_query: 30s
max_label_name_length: 1024
max_label_value_length: 2048
max_label_names_per_series: 30
unordered_writes: false
deletion_mode: disabled
retention_period: 0s
ingester:
wal:
enabled: true
dir: /mnt/loki/wal
checkpoint_duration: 5m
flush_on_shutdown: false
replay_memory_ceiling: 4GB
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
prefix: api-dev2/
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 1h
max_chunk_age: 1h
chunk_target_size: 1572864
chunk_retain_period: 1440h
max_transfer_retries: 0
max_returned_stream_errors: 10
flush_check_period: 5m
chunk_encoding: none
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: s3
schema: v11
index:
prefix: grafana_loki
period: 24h
chunks:
prefix: loki_chunk
period: 24h
storage_config:
boltdb_shipper:
active_index_directory: /mnt/loki/boltdb-shipper-active
cache_location: /mnt/loki/boltdb-shipper-cache
cache_ttl: 24h
resync_interval: 5m
shared_store: s3
aws:
s3: s3://us-west-1/loki
s3forcepathstyle: true
region: us-west-1
bucketnames: loki
index_gateway:
mode: simple
ring:
kvstore:
store: inmemory
prefix: collector/
analytics:
reporting_enabled: true
tracing:
enabled: true
compactor:
working_directory: /mnt/loki/boltdb-shipper-compactor
shared_store: s3
compaction_interval: 1h
retention_enabled: true
chunk_store_config:
max_look_back_period: 1440h
ruler:
storage:
type: local
local:
directory: /mnt/loki/rules
rule_path: /mnt/loki/rules-temp
alertmanager_url: http://localhost:9093
ring:
kvstore:
store: inmemory
enable_api: true