# The maximum duration of a timeseries chunk in memory. If a timeseries runs for longer than this the current chunk will be flushed to the store and a new chunk created.
# The maximum duration of a timeseries chunk in memory. If a timeseries runs for longer than this,
# the current chunk will be flushed to the store and a new chunk created.
# CLI flag: -ingester.max-chunk-age
# CLI flag: -ingester.max-chunk-age
[max_chunk_age: <duration> | default = 1h]
[max_chunk_age: <duration> | default = 1h]
# How far in the past an ingester is allowed to query the store for data.
# How far in the past an ingester is allowed to query the store for data.
# This is only useful for running multiple loki binaries with a shared ring with a `filesystem` store which is NOT shared between the binaries
# This is only useful for running multiple Loki binaries with a shared ring with a `filesystem` store,
# When using any "shared" object store like S3 or GCS this value must always be left as 0
# which is NOT shared between the binaries.
# It is an error to configure this to a non-zero value when using any object store other than `filesystem`
# When using any "shared" object store like S3 or GCS, this value must always be left as 0.
# It is an error to configure this to a non-zero value when using any object store other
# than `filesystem`.
# Use a value of -1 to allow the ingester to query the store infinitely far back in time.
# Use a value of -1 to allow the ingester to query the store infinitely far back in time.
# The ingester WAL (Write Ahead Log) records incoming logs and stores them on the local file system in order to guarantee persistence of acknowledged data in the event of a process crash.
# The ingester WAL (Write Ahead Log) records incoming logs and stores them on the local file system
# in order to guarantee persistence of acknowledged data in the event of a process crash.
wal:
wal:
# Enables writing to WAL.
# Enables writing to WAL.
# CLI flag: -ingester.wal-enabled
# CLI flag: -ingester.wal-enabled
@ -983,7 +989,8 @@ wal:
# CLI flag: ingester.checkpoint-duration
# CLI flag: ingester.checkpoint-duration
[checkpoint_duration: <duration> | default = 5m]
[checkpoint_duration: <duration> | default = 5m]
# Maximum memory size the WAL may use during replay. After hitting this it will flush data to storage before continuing.
# Maximum memory size the WAL may use during replay. After hitting this it will flush data to storage
# Allow cancellation of delete request until duration after they are created. Data would be deleted only after delete requests have been older than this duration. Ideally this should be set to at least 24h.
# Allow cancellation of delete request until duration after they are created.
# Data would be deleted only after delete requests have been older than this duration.