# Multiple clusters using the same S3 bucket to store loki logs, but logs are still separate somehow?

**URL:** <https://community.grafana.com/t/multiple-clusters-using-the-same-s3-bucket-to-store-loki-logs-but-logs-are-still-separate-somehow/54727>\
**Category:** Grafana Loki\
**Created:** [October 13, 2021, 7:47pm UTC](https://community.grafana.com/t/multiple-clusters-using-the-same-s3-bucket-to-store-loki-logs-but-logs-are-still-separate-somehow/54727 "2021-10-13T19:47:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhnclvr](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jhnclvr/32/18322_2.png) [@jhnclvr](https://community.grafana.com/u/jhnclvr)\
**Post date:** [October 13, 2021, 7:47pm UTC](https://community.grafana.com/t/multiple-clusters-using-the-same-s3-bucket-to-store-loki-logs-but-logs-are-still-separate-somehow/54727/1 "2021-10-13T19:47:25Z")

</div>

I have 2 separate clusters both using Loki with a config like this:

```auto
  config:
    auth_enabled: false

    storage_config:
      aws:
        s3: s3://us-east-1
        bucketnames: a-shared-loki-bucket
      boltdb_shipper:
        active_index_directory: /data/loki/index
        shared_store: s3
        cache_location: /data/loki/boltdb-cache

```

(Notice that auth\_enabled is false, and both clusters would be sending the same or no tenant ID)

I have loki instances running in both a blue and a green Kubernetes cluster. Both have the same config as above and are using the same s3 bucket.

However, when I query Loki in the blue cluster, I only see logging from pods in the blue cluster. When I query Loki in the green cluster, I only see logging from pods in the green cluster.

How are the clusters sharing an s3 bucket for Loki, but somehow not actually sharing the logs?

I am deploying Loki via the official helm chart, it gets deployed with grafana and promtail and prometheus.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [October 13, 2022, 7:48pm UTC](https://community.grafana.com/t/multiple-clusters-using-the-same-s3-bucket-to-store-loki-logs-but-logs-are-still-separate-somehow/54727/2 "2022-10-13T19:48:11Z")

</div>

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