Loki helm config for s3 and dynamo

HI
I want make a production setup for loki in k8s.
setup is for blue , green deployment model in k8s
requirements :

  • store Logs in s3 for chunks and dynamo for indexes
  • store data of the logs for 1 year
    I have current config

config:
auth_enabled: false
ingester:
chunk_idle_period: 5m
chunk_block_size: 262144
chunk_retain_period: 1m
lifecycler:
ring:
kvstore:
store: inmemory
replication_factor: 1
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
schema_config:
configs:
- from: 2020-05-15
store: aws
object_store: s3
schema: v11
index:
prefix: loki_index_prod_
period: 8760h
tags:
env: prod-loki
server:
http_listen_port: 3100
storage_config:
aws:
s3: s3://us-east-1/loki-prod-t
s3forcepathstyle: true
dynamodb:
dynamodb_url: dynamodb://us-east-1
table_manager:
index_tables_provisioning:
inactive_read_throughput: 5
inactive_write_throughput: 5
provisioned_write_throughput: 10
provisioned_read_throughput: 10
chunk_tables_provisioning:
inactive_read_throughput: 5
inactive_write_throughput: 5
provisioned_write_throughput: 10
provisioned_read_throughput: 10
retention_deletes_enabled: true
retention_period: 8760h
creation_grace_period: 24h

If I missed something in config?
If retention for the logs will work?
another aspect is if loki will be redeployed every 2 weeks do it will affect the store of the logs?

Did this configuration work , i have been having issues using S3 without access key and secret key

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.