Created
September 17, 2023 03:04
-
-
Save franzwong/d91c2ee6193b4fae13c5a450367ccc41 to your computer and use it in GitHub Desktop.
Sample Loki config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth_enabled: false | |
server: | |
http_listen_port: 3100 | |
common: | |
path_prefix: /loki | |
replication_factor: 1 | |
ring: | |
kvstore: | |
store: inmemory | |
schema_config: | |
configs: | |
- from: 2023-01-01 | |
store: boltdb-shipper | |
object_store: filesystem | |
schema: v11 | |
index: | |
prefix: index_ | |
period: 24h | |
ingester: | |
wal: | |
dir: /loki/wal | |
checkpoint_duration: 5m | |
replay_memory_ceiling: 4GB | |
flush_on_shutdown: false | |
compactor: | |
working_directory: /loki/compactor | |
shared_store: filesystem | |
compaction_interval: 10m | |
retention_enabled: true | |
retention_delete_delay: 2h | |
retention_delete_worker_count: 150 | |
limits_config: | |
retention_period: 744h | |
storage_config: | |
boltdb_shipper: | |
active_index_directory: /loki/boltdb-shipper-active | |
cache_location: /loki/boltdb-shipper-cache | |
cache_ttl: 24h | |
shared_store: filesystem | |
filesystem: | |
directory: /loki/data | |
analytics: | |
reporting_enabled: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment