Trying to setup WAL using the values.yaml in loki-destributed helm
Using the documentation for WAL is says that --ingester.wal-enabled
will enable it.
So in the values file i added the following
ingester:
wal:
enabled: true
But then i get an error that there is a bad config when starting the containers that ingester.wal doesn’t exist.
Anyone know the proper formatting?
wlargou
January 29, 2021, 10:05am
2
Hi,
Please find a sample setup :
auth_enabled: false
server:
http_listen_port: 3100
ingester:
wal:
enabled: true
dir: /tmp/wal
recover: true
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 1h # Any chunk not receiving new logs in this time will be flushed
max_chunk_age: 1h # All chunks will be flushed when they hit this age, default is 1h
chunk_target_size: 1048576 # Loki will attempt to build chunks up to 1.5MB, flushing first if chunk_idle_period or max_chunk_age is reached first
This file has been truncated. show original
Hope it helps.
Good Luck
system
Closed
January 29, 2022, 10:05am
3
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.