github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/docs/sources/configuration/examples/almost-zero-dependency.yaml (about) 1 # This is a configuration to deploy Loki depending only on a storage solution 2 # for example, an S3-compatible API like MinIO. 3 # The ring configuration is based on the gossip memberlist and the index is shipped to storage 4 # via Single Store (boltdb-shipper) 5 6 auth_enabled: false 7 8 server: 9 http_listen_port: 3100 10 11 distributor: 12 ring: 13 kvstore: 14 store: memberlist 15 16 ingester: 17 lifecycler: 18 ring: 19 kvstore: 20 store: memberlist 21 replication_factor: 1 22 final_sleep: 0s 23 chunk_idle_period: 5m 24 chunk_retain_period: 30s 25 26 memberlist: 27 abort_if_cluster_join_fails: false 28 29 # Expose this port on all distributor, ingester 30 # and querier replicas. 31 bind_port: 7946 32 33 # You can use a headless k8s service for all distributor, 34 # ingester and querier components. 35 join_members: 36 - loki-gossip-ring.loki.svc.cluster.local:7946 37 38 max_join_backoff: 1m 39 max_join_retries: 10 40 min_join_backoff: 1s 41 42 schema_config: 43 configs: 44 - from: 2020-05-15 45 store: boltdb-shipper 46 object_store: s3 47 schema: v11 48 index: 49 prefix: index_ 50 period: 24h 51 52 storage_config: 53 boltdb_shipper: 54 active_index_directory: /loki/index 55 cache_location: /loki/index_cache 56 shared_store: s3 57 58 aws: 59 s3: s3://access_key:secret_access_key@custom_endpoint/bucket_name 60 s3forcepathstyle: true 61 62 limits_config: 63 enforce_metric_name: false 64 reject_old_samples: true 65 reject_old_samples_max_age: 168h 66 67 compactor: 68 working_directory: /data/compactor 69 shared_store: s3 70 compaction_interval: 5m