# Grafana Loki

**URL:** https://community.grafana.com/c/grafana-loki/41.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [About the Grafana Loki category](https://community.grafana.com/t/about-the-grafana-loki-category/39085)

<div class="topic-metadata">

**Author:** [@anon80964540](https://community.grafana.com/u/anon80964540)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 4:10pm UTC](https://community.grafana.com/t/about-the-grafana-loki-category/39085 "2020-11-10T16:10:20Z")

</div>

Discuss and ask questions on Grafana Loki–the open source horizontally-scalable, multi-tenant log aggregation system inspired by Prometheus. Loki Documentation Loki Releases Loki Source

---

## [Logs from several days presented in single timestamp](https://community.grafana.com/t/logs-from-several-days-presented-in-single-timestamp/165016)

<div class="topic-metadata">

**Author:** [@jedemebaby](https://community.grafana.com/u/jedemebaby)\
**Replies:** 2\
**Last updated:** [November 14, 2026, 12:26am UTC](https://community.grafana.com/t/logs-from-several-days-presented-in-single-timestamp/165016 "2026-11-14T00:26:57Z")

</div>

Good afternoon everybody, I stumbled across weir issue when browsing logs on my self managed Loki instance through Grafana Explore. In the Explore logs from ~50 days are showing within one millisecond. To better illust…

---

## [Grafana Logs with Loki configure RBAC for tenant](https://community.grafana.com/t/grafana-logs-with-loki-configure-rbac-for-tenant/164655)

<div class="topic-metadata">

**Author:** [@maneesh299](https://community.grafana.com/u/maneesh299)\
**Replies:** 2\
**Last updated:** [October 12, 2026, 10:54am UTC](https://community.grafana.com/t/grafana-logs-with-loki-configure-rbac-for-tenant/164655 "2026-10-12T10:54:26Z")

</div>

Hi We have provisioned Loki with Grafana as containers like below grafana: image: grafana/grafana:13.2.2 ports: “127.0.0.1:3000:3000” depends\_on: \[tempo, mimir, loki\] networks: \[lgtm\] Loki — internal port 3100 on…

---

## [Loki 3.6.10 Ruler: "stored rulegroup" logged but rules not persisted to S3](https://community.grafana.com/t/loki-3-6-10-ruler-stored-rulegroup-logged-but-rules-not-persisted-to-s3/164459)

<div class="topic-metadata">

**Author:** [@gunjanvmirchandani](https://community.grafana.com/u/gunjanvmirchandani)\
**Replies:** 3\
**Last updated:** [October 1, 2026, 6:48pm UTC](https://community.grafana.com/t/loki-3-6-10-ruler-stored-rulegroup-logged-but-rules-not-persisted-to-s3/164459 "2026-10-01T18:48:29Z")

</div>

Hi all, We’re experiencing an issue where the Loki ruler logs “stored rulegroup” but rules are not actually written to S3. Interestingly, log chunks work fine on the same S3 endpoint. Environment Loki version: 3.6.10 …

---

## [Loki + S3: Why It’s Slow and How to Fix It](https://community.grafana.com/t/loki-s3-why-it-s-slow-and-how-to-fix-it/164179)

<div class="topic-metadata">

**Author:** [@uttamreetesh](https://community.grafana.com/u/uttamreetesh)\
**Replies:** 2\
**Last updated:** [September 8, 2026, 12:41pm UTC](https://community.grafana.com/t/loki-s3-why-it-s-slow-and-how-to-fix-it/164179 "2026-09-08T12:41:34Z")

</div>

https://medium.com/me/stats/post/220acab20d13 What the Numbers Looked Like in the End We made all these changes in a single session. Here’s the before and after: | What we measured | Before | After …

---

## [How does retention's non-retroactive behaviour impact old logs?](https://community.grafana.com/t/how-does-retentions-non-retroactive-behaviour-impact-old-logs/164076)

<div class="topic-metadata">

**Author:** [@sinapahlavan](https://community.grafana.com/u/sinapahlavan)\
**Replies:** 3\
**Last updated:** [August 20, 2026, 7:28pm UTC](https://community.grafana.com/t/how-does-retentions-non-retroactive-behaviour-impact-old-logs/164076 "2026-08-20T19:28:17Z")

</div>

Hello, I’m running Loki 2.9.15. I had the pod up for a few months with no retention enabled, so naturally I accumulated close 2TB of logs. Then, two days ago, I set retention to 14 days. However, no log has been delete…

---

## [Can 2 instances of loki (same version) use same s3 bucket in the same k8s cluster](https://community.grafana.com/t/can-2-instances-of-loki-same-version-use-same-s3-bucket-in-the-same-k8s-cluster/163734)

<div class="topic-metadata">

**Author:** [@vieenodp](https://community.grafana.com/u/vieenodp)\
**Replies:** 3\
**Last updated:** [July 15, 2026, 1:25pm UTC](https://community.grafana.com/t/can-2-instances-of-loki-same-version-use-same-s3-bucket-in-the-same-k8s-cluster/163734 "2026-07-15T13:25:28Z")

</div>

can 2 instances of loki (same version, latest stable) use same s3 bucket in the same k8s cluster. Just 2 instances of loki are deployed in different namespaces.

---

## [Dashboard Loki Internal](https://community.grafana.com/t/dashboard-loki-internal/163579)

<div class="topic-metadata">

**Author:** [@dennisngrox](https://community.grafana.com/u/dennisngrox)\
**Replies:** 2\
**Last updated:** [July 7, 2026, 1:56pm UTC](https://community.grafana.com/t/dashboard-loki-internal/163579 "2026-07-07T13:56:26Z")

</div>

I need an internal Loki dashboard to monitor the key metrics for the Read, Write, Compactor, caches, and cardinality. The goal is to identify bottlenecks, evaluate overall performance, and determine whether resizing or …

---

## [How to know which backend instance is the compactor](https://community.grafana.com/t/how-to-know-which-backend-instance-is-the-compactor/163479)

<div class="topic-metadata">

**Author:** [@sinapahlavan](https://community.grafana.com/u/sinapahlavan)\
**Replies:** 1\
**Last updated:** [July 1, 2026, 6:23pm UTC](https://community.grafana.com/t/how-to-know-which-backend-instance-is-the-compactor/163479 "2026-07-01T18:23:36Z")

</div>

Hello, In my Loki deployments, I have three write pods, three read pods, and three backend pods, with the backend containing the compactor. I’m wondering if this is wrong in Loki? From what I’m seeing in the 3.7.1 docs,…

---

## [Index low-cardinality OTLP log attrs as labels, or keep as structured metadata?](https://community.grafana.com/t/index-low-cardinality-otlp-log-attrs-as-labels-or-keep-as-structured-metadata/163414)

<div class="topic-metadata">

**Author:** [@xepheryy](https://community.grafana.com/u/xepheryy)\
**Replies:** 1\
**Last updated:** [June 25, 2026, 7:22pm UTC](https://community.grafana.com/t/index-low-cardinality-otlp-log-attrs-as-labels-or-keep-as-structured-metadata/163414 "2026-06-25T19:22:32Z")

</div>

Hi — looking for a second opinion on Loki 3.x + OTLP (OTEL → Loki /otlp). APIM gateway logs: some fields are already resource attrs / index labels (service.name, req.api\_scp, auth.res\_ag). Others are log record attrs on…

---

## [Loki Monolithic HA Hitting Terminating Pods Endpoint](https://community.grafana.com/t/loki-monolithic-ha-hitting-terminating-pods-endpoint/163410)

<div class="topic-metadata">

**Author:** [@rnan](https://community.grafana.com/u/rnan)\
**Replies:** 1\
**Last updated:** [June 24, 2026, 8:00pm UTC](https://community.grafana.com/t/loki-monolithic-ha-hitting-terminating-pods-endpoint/163410 "2026-06-24T20:00:11Z")

</div>

Hi, I am trying to debug an issue with the Loki in Monolithic mode, in a High Availability (HA) configuration, running in a Kubernetes cluster with 3 nodes. I am doing HA tests, when all 3 nodes are up then svc/loki-ga…

---

## [Logs query usage — climbing with no queries I can find?](https://community.grafana.com/t/logs-query-usage-climbing-with-no-queries-i-can-find/163384)

<div class="topic-metadata">

**Author:** [@daniel84cc](https://community.grafana.com/u/daniel84cc)\
**Replies:** 3\
**Last updated:** [June 22, 2026, 7:53pm UTC](https://community.grafana.com/t/logs-query-usage-climbing-with-no-queries-i-can-find/163384 "2026-06-22T19:53:55Z")

</div>

The short version: my logs query usage has been climbing steadily for about 40 hours and I can’t figure out what’s actually running the queries. grafanacloud\_logs\_instance\_query\_overage has been rising at a very consiste…

---

## [Grafana Loki - 504 gateway error in explore logs](https://community.grafana.com/t/grafana-loki-504-gateway-error-in-explore-logs/163323)

<div class="topic-metadata">

**Author:** [@vallikanusekarart](https://community.grafana.com/u/vallikanusekarart)\
**Replies:** 4\
**Last updated:** [June 19, 2026, 9:22am UTC](https://community.grafana.com/t/grafana-loki-504-gateway-error-in-explore-logs/163323 "2026-06-19T09:22:29Z")

</div>

Hi All, We are facing 504 gateway error in Grafana explore-\>logs. What could be the issue? Dont see any errors in the gateway and verified the timeouts as well. Please advise what is causing this and how to fix it

---

## [Loki - config for faster query performance](https://community.grafana.com/t/loki-config-for-faster-query-performance/163294)

<div class="topic-metadata">

**Author:** [@vallikanusekarart](https://community.grafana.com/u/vallikanusekarart)\
**Replies:** 6\
**Last updated:** [June 19, 2026, 7:36am UTC](https://community.grafana.com/t/loki-config-for-faster-query-performance/163294 "2026-06-19T07:36:29Z")

</div>

Hi, I’m using loki 17.5.1 helm chart I have 3 ingester replicas with 10gb and 2 cpu limit each. 6 querier replicas with 6gb and 2 cpu limit each. Max\_concurrent is 16, Max\_query\_parallelism is 48, split query interval …

---

## [Default retry azure storage config is much lower than Azure recommendation](https://community.grafana.com/t/default-retry-azure-storage-config-is-much-lower-than-azure-recommendation/163238)

<div class="topic-metadata">

**Author:** [@ryanmin](https://community.grafana.com/u/ryanmin)\
**Replies:** 1\
**Last updated:** [June 11, 2026, 7:30pm UTC](https://community.grafana.com/t/default-retry-azure-storage-config-is-much-lower-than-azure-recommendation/163238 "2026-06-11T19:30:39Z")

</div>

My team noticed that the defaults for azure storage client (particularly min/max\_retry\_delay) at 10ms/500ms are much lower than that suggested by Azure (0.8 seconds - 1 minute) respectively. Is there a reason there is su…

---

## [Loki compactor retention batch fails from a single chunk error and leaves stale index references](https://community.grafana.com/t/loki-compactor-retention-batch-fails-from-a-single-chunk-error-and-leaves-stale-index-references/163206)

<div class="topic-metadata">

**Author:** [@ryanmin](https://community.grafana.com/u/ryanmin)\
**Replies:** 4\
**Last updated:** [June 10, 2026, 6:04pm UTC](https://community.grafana.com/t/loki-compactor-retention-batch-fails-from-a-single-chunk-error-and-leaves-stale-index-references/163206 "2026-06-10T18:04:49Z")

</div>

Recently our Loki open source distributed deployment (v3.4.2) has had issues completing API-initiated adhoc log deletions. We use Azure as our backing storage for observability data, and we occasionally see some network …

---

## [Using Amazon S3 Express One Zone with Loki](https://community.grafana.com/t/using-amazon-s3-express-one-zone-with-loki/163216)

<div class="topic-metadata">

**Author:** [@vitlayb](https://community.grafana.com/u/vitlayb)\
**Replies:** 0\
**Last updated:** [June 9, 2026, 12:38pm UTC](https://community.grafana.com/t/using-amazon-s3-express-one-zone-with-loki/163216 "2026-06-09T12:38:57Z")

</div>

Hi folks, I got Loki 3.6.11 working with an Amazon S3 Express One Zone directory bucket. The key pieces were: storage.use\_thanos\_objstore: true loki.storage.object\_store.s3.endpoint: s3express-control.us-east-1.amazon…

---

## [Service/service\_name is coming as unknown\_service](https://community.grafana.com/t/service-service-name-is-coming-as-unknown-service/163160)

<div class="topic-metadata">

**Author:** [@vallikanusekarart](https://community.grafana.com/u/vallikanusekarart)\
**Replies:** 1\
**Last updated:** [June 4, 2026, 8:02pm UTC](https://community.grafana.com/t/service-service-name-is-coming-as-unknown-service/163160 "2026-06-04T20:02:41Z")

</div>

Hi, we are facing srevice/service\_name = unknown\_service issue, Plugin used is fluent-plugin-grafana-loki. We tried below config in Loki chart and the other config on fluentd side, please check and advise: Loki-chart-co…

---

## [Service\_name is always unknown\_service](https://community.grafana.com/t/service-name-is-always-unknown-service/159545)

<div class="topic-metadata">

**Author:** [@vipinjn24](https://community.grafana.com/u/vipinjn24)\
**Replies:** 3\
**Last updated:** [June 4, 2026, 3:27pm UTC](https://community.grafana.com/t/service-name-is-always-unknown-service/159545 "2026-06-04T15:27:12Z")

</div>

Hi, I setup a loki instance and started ingesting the logs using kube logging operator. But it seems the service\_name is always unknown\_service. I tried sending different fields like service\_name, service.name and ser…

---

## [Loki Retention Not Working (docker)](https://community.grafana.com/t/loki-retention-not-working-docker/162946)

<div class="topic-metadata">

**Author:** [@florian](https://community.grafana.com/u/florian)\
**Replies:** 5\
**Last updated:** [June 3, 2026, 9:29am UTC](https://community.grafana.com/t/loki-retention-not-working-docker/162946 "2026-06-03T09:29:24Z")

</div>

I’m using Loki version 3.5.1 (image grafana/loki:3.5.1) ‘on-prem’ (single instance) i’m using tsdb filesystem storage i’m not using table manager i turn on retention\_enabled flag my default retention is 360h (i reduce …

---

## [Rate limit config doesn't work](https://community.grafana.com/t/rate-limit-config-doesnt-work/162893)

<div class="topic-metadata">

**Author:** [@babecolengo](https://community.grafana.com/u/babecolengo)\
**Replies:** 7\
**Last updated:** [May 21, 2026, 6:37am UTC](https://community.grafana.com/t/rate-limit-config-doesnt-work/162893 "2026-05-21T06:37:55Z")

</div>

I got this error and bunch of missing logs from my traces ERROR level=error caller=manager.go:49 component=distributor path=write msg="write operation failed" details="ingestion rate limit exceeded for user anonymous (l…

---

## [Alloy Samples Sent steadily increasing over time — how to identify the cause and keep it stable?](https://community.grafana.com/t/alloy-samples-sent-steadily-increasing-over-time-how-to-identify-the-cause-and-keep-it-stable/162967)

<div class="topic-metadata">

**Author:** [@singh1203ss](https://community.grafana.com/u/singh1203ss)\
**Replies:** 0\
**Last updated:** [May 20, 2026, 12:14pm UTC](https://community.grafana.com/t/alloy-samples-sent-steadily-increasing-over-time-how-to-identify-the-cause-and-keep-it-stable/162967 "2026-05-20T12:14:35Z")

</div>

Hey folks, I’m seeing Alloy Samples Sent keep creeping up over time instead of staying flat. It’s not a one-off spike — it’s a steady rise, and it’s been forcing us to keep adjusting alert thresholds, which is getting n…

---

## [1d Interval Not Including current total from Today](https://community.grafana.com/t/1d-interval-not-including-current-total-from-today/162869)

<div class="topic-metadata">

**Author:** [@czyzewski529](https://community.grafana.com/u/czyzewski529)\
**Replies:** 2\
**Last updated:** [May 15, 2026, 12:34pm UTC](https://community.grafana.com/t/1d-interval-not-including-current-total-from-today/162869 "2026-05-15T12:34:06Z")

</div>

I have a stacked bar chart visualization to show the number of errored instances with good instances. I currently have a group of queries following this format: --GOOD– sum(count\_over\_time({level=“INFO”} |~ “Status.\*FI…

---

## [Loki isolation problem: separate endpoints but shared logs](https://community.grafana.com/t/loki-isolation-problem-separate-endpoints-but-shared-logs/162799)

<div class="topic-metadata">

**Author:** [@zdravacantonio](https://community.grafana.com/u/zdravacantonio)\
**Replies:** 3\
**Last updated:** [May 8, 2026, 9:39pm UTC](https://community.grafana.com/t/loki-isolation-problem-separate-endpoints-but-shared-logs/162799 "2026-05-08T21:39:56Z")

</div>

Hi everyone, I have a multi-environment Kubernetes setup with separate environments: dev test prod Each environment contains multiple Kubernetes clusters. On one cluster inside each environment I deployed a separate…

---

## [Does Alloy loki.source.file pause reading when loki.write can't reach Loki?](https://community.grafana.com/t/does-alloy-loki-source-file-pause-reading-when-loki-write-cant-reach-loki/162716)

<div class="topic-metadata">

**Author:** [@yashashreekolhe](https://community.grafana.com/u/yashashreekolhe)\
**Replies:** 2\
**Last updated:** [May 8, 2026, 9:38pm UTC](https://community.grafana.com/t/does-alloy-loki-source-file-pause-reading-when-loki-write-cant-reach-loki/162716 "2026-05-08T21:38:35Z")

</div>

If Loki is unreachable for an extended period (hours), does loki.source.file stop advancing the positions file and pause reading? Or does it continue reading and drop logs after max\_backoff\_retries is exhausted? Basical…

---

## [Redis cache support for both Results Cache and Chunks Cache in Loki](https://community.grafana.com/t/redis-cache-support-for-both-results-cache-and-chunks-cache-in-loki/152201)

<div class="topic-metadata">

**Author:** [@nikolozabashidze2](https://community.grafana.com/u/nikolozabashidze2)\
**Replies:** 1\
**Last updated:** [May 7, 2026, 6:10pm UTC](https://community.grafana.com/t/redis-cache-support-for-both-results-cache-and-chunks-cache-in-loki/152201 "2026-05-07T18:10:03Z")

</div>

Hi everyone, I’m interested in configuring Redis as a caching backend for my Loki setup and want to clarify something from the documentation. I understand that Loki supports Redis for the results cache , but I’m unclea…

---

## [Loki with OL9/RH9 Servers](https://community.grafana.com/t/loki-with-ol9-rh9-servers/162786)

<div class="topic-metadata">

**Author:** [@petehackett](https://community.grafana.com/u/petehackett)\
**Replies:** 1\
**Last updated:** [May 6, 2026, 8:21pm UTC](https://community.grafana.com/t/loki-with-ol9-rh9-servers/162786 "2026-05-06T20:21:57Z")

</div>

Hello, I’m trying to better understand how to implement/configure alloy on OL9/RH9 servers so that logs are send to a loki server. Specifically, with OL9/RH9 servers, is there any configuration required in the default /…

---

## [Error loading cache generation numbers](https://community.grafana.com/t/error-loading-cache-generation-numbers/161813)

<div class="topic-metadata">

**Author:** [@zorgoban](https://community.grafana.com/u/zorgoban)\
**Replies:** 7\
**Last updated:** [May 6, 2026, 8:12pm UTC](https://community.grafana.com/t/error-loading-cache-generation-numbers/161813 "2026-05-06T20:12:07Z")

</div>

I’m running loki with docker compose and get the following error message several times when starting the container: level=error ts=2026-02-23T08:47:12.056250141Z caller=gennumber\_loader.go:136 msg="error loading cache g…

---

## [Configure Loki to use Ceph](https://community.grafana.com/t/configure-loki-to-use-ceph/162371)

<div class="topic-metadata">

**Author:** [@nikhithachinthapall1](https://community.grafana.com/u/nikhithachinthapall1)\
**Replies:** 1\
**Last updated:** [April 24, 2026, 10:15pm UTC](https://community.grafana.com/t/configure-loki-to-use-ceph/162371 "2026-04-24T22:15:17Z")

</div>

loki: storage: type: s3 bucketNames: chunks: loki-chunks ruler: loki-ruler admin: loki-admin s3: endpoint: rook-ceph-rgw-righive.rook-ceph.svc.cluster.local:80 accessKeyId: ${A…

---

## [Old logs not visible after migrating from loki-stack to loki using existing PVC](https://community.grafana.com/t/old-logs-not-visible-after-migrating-from-loki-stack-to-loki-using-existing-pvc/162582)

<div class="topic-metadata">

**Author:** [@m6832](https://community.grafana.com/u/m6832)\
**Replies:** 2\
**Last updated:** [April 20, 2026, 2:31pm UTC](https://community.grafana.com/t/old-logs-not-visible-after-migrating-from-loki-stack-to-loki-using-existing-pvc/162582 "2026-04-20T14:31:23Z")

</div>

We migrated from loki-stack to the loki Helm chart in AKS and reused the existing Azure Disk (PVC). The new Loki instance mounts the same disk and writes logs successfully, but historical logs from loki-stack are not vi…

[Next page](https://community.grafana.com/c/grafana-loki/41.md?page=1)
