Loki - Saving to S3

Hi everyone,

I’ve been trying to resolve an issue, but haven’t had any success so far. My goal is to save the logs to an S3 bucket (while ensuring they’re also accessible for reading), but the only file that seems to be saved in the bucket is loki_cluster_seed.json.

I can view the logs in Grafana, which indicates that Loki is storing them locally, but I need them saved to S3 as well. I’ve included my configuration below. Any help would be greatly appreciated. Thanks in advance!

auth_enabled: false

server:
  http_listen_port: 3100

common:
  path_prefix: /tmp/loki

  replication_factor: 1
  ring:
    kvstore:
      store: memberlist

schema_config:
  configs:
    - from: "2024-09-22"
      store: tsdb
      object_store: aws
      schema: v13
      index:
        prefix: index_
        period: 24h

storage_config:
  tsdb_shipper:
    active_index_directory: /tmp/tsdb-index
    cache_location: /tmp/tsdb-cache
    cache_ttl: 24h
  aws:
    s3: s3://<access-key>:<secret-key>@region
    bucketnames: bucket-name