Loki 3.4 to 3.7 upgrade notes

Moving from Loki 3.4 to 3.7 means checking object storage clients, experimental bloom filters, Docker image changes and the AWS SDK v2 upgrade before the cluster moves. This page sets out what to check, the order to upgrade in and how to roll back.

On this page

How to plan a Loki upgrade from 3.4 to 3.7

A team running Loki 3.4 that needs to reach the current 3.x line should treat the move as a planned, staged upgrade rather than a single version bump. The latest release listed on the Loki releases page on GitHub is v3.7.8, published September 17, 2026, and the upgrade guide is the authority for each release you pass through. Confirm the changes for every intermediate minor version (3.5, 3.6 and 3.7, along with any patch releases that the guide calls out) before any production work starts, because a change that is harmless on one minor version can be the exact step that breaks your configuration on another.

Start by reading the 3.4 to 3.7 entries in the Loki upgrade guide and marking the ones that touch your deployment. The topics that matter most in this range are the new object storage clients introduced in 3.4.0, the experimental bloom filters noted in 3.2.0 and 3.3.0 (confirm whether you enabled them, since experimental features can change between releases), the removal of the BusyBox shell from Docker images in 3.5.8, which breaks any init container, sidecar or debugging step that relies on it, and the upgrade to AWS SDK v2 in 3.6.0, which affects S3 credentials, endpoints and related settings in your storage_config block. Match each item against your own image tags, storage configuration and any custom scripts.

What changed between Loki 3.4 and 3.7

This table lists the Loki 3.x changes that the upgrade guide calls out between 3.4 and 3.7, with the check to run for each. Work through the rows against your current configuration and images before moving the cluster to a later 3.x release.

ChangeReleaseImpactAction needed
New object storage clients3.4.0Storage client settings may differ from the ones your 3.3 or earlier config uses, so existing storage blocks need review.Compare your storage configuration against the 3.4.0 section of the upgrade guide and run the effective config check on the target version.
Experimental bloom filters3.2.0 and 3.3.0A 3.4 cluster may already carry bloom filter settings in its config from when the feature was experimental.Search your config for bloom-related keys and confirm whether they are still enabled, intended and supported in the target version.
BusyBox shell removed from Docker images3.5.8Init scripts, sidecars or exec commands that rely on a BusyBox shell in the Loki image will fail to run.Search your Helm values, container commands and init containers for shell usage, and test them against the new image before rollout.
Upgrade to AWS SDK v23.6.0S3 client behavior and related configuration can change for clusters that store chunks or indexes in Amazon S3.Review S3 settings, IAM permissions and endpoint configuration, then test reads and writes against a non-production bucket.
Release-specific changes for 3.73.7.xChanges in 3.7 are not summarized on this page.Read the Loki upgrade guide and the GitHub release notes for each 3.7 patch before planning the move.

Why the object storage client and AWS SDK changes need checks

Loki 3.4.0 added new object storage clients, and 3.6.0 upgraded the AWS SDK to v2. Both changes alter how Loki builds its connection to object storage, so the S3 credentials, endpoint and region settings that worked on your current version must be proven again on the target version rather than carried over on the assumption that they still apply. The Loki upgrade guide documents both changes, but it does not replace a test against your own bucket, your own identity setup and your own network path. Start by listing every storage block in your current configuration, including the bucket name, endpoint, region, credential source (static keys, instance roles, IRSA-style web identity or environment variables) and any custom HTTP or TLS options, then decide which of those values the target version reads the same way.

Amazon S3, Google Cloud Storage and Azure Blob Storage are the object stores Loki documents as recommended for production, as described in the Loki storage documentation. S3-compatible stores such as MinIO and the local filesystem are supported, but the same documentation notes they are not typically recommended for production. If your cluster uses one of these, treat the upgrade as a change to a less common path. Confirm with the vendor of that store which S3 features and request signing behavior Loki depends on, and run a write, read, compaction and retention cycle against it on the target version. Also confirm each store's behavior in a test environment before any production cutover, and keep the old configuration available so a rollback does not depend on memory.

The test should cover the paths your production traffic exercises: chunk writes from the ingesters, index and chunk reads from the queriers, compactor operations and retention deletes. A successful startup is not enough evidence, because credential or endpoint problems often appear only when the first chunk is flushed or the first query reads old data. Record the results in writing, including the exact Loki version tested and the store configuration used, so the approval for production refers to a specific, reproducible setup.

Which changes apply to your deployment

The BusyBox change matters most for container images. Loki removed the BusyBox shell from its Docker images in 3.5.8, so any command you run inside the container that depends on BusyBox utilities will fail once you move to that release or later. Review everything you add around the image, not only Loki's own configuration, because your scripts and probes are the most likely failure points.

  • Health checks: Any HEALTHCHECK or orchestrator probe that runs a shell command inside the container needs a replacement. Probe Loki's readiness endpoint over HTTP from outside the container instead.
  • Entrypoint and wrapper scripts: Scripts you mount or bake into the image that call tools such as sed, awk or cat must be rewritten or moved to a sidecar or helper container.
  • Custom base images: If you build FROM the official image and add a shell-based startup step, test that step on the new base before you promote the image.
  • Image tags: Pin the exact tag you tested and confirm in the upgrade guide which tags include the Docker image change.
  • Config mounts: Confirm that the configuration file mounts at the same path and that the container user can read it.

Run each container's startup and health check against the exact target tag in a staging environment before you roll it to production.

Each upgrade phase must pass before the next one starts

The path starts with inventorying the current configuration and image, then compares the effective configuration and reviews release notes. Teams rehearse the change on a copy of the storage bucket or a sample, back up configuration and index state, and upgrade the first intermediate step. Verifying ingestion and queries is the gate: a failed check sends the team to rollback, and only a passing check allows the move on to 3.7.

The phase sequence for a Loki 3.x upgrade, with a rollback path when verification fails.

What to back up and inventory before the upgrade

Moving within Loki 3.x touches the binary, the images your team builds around it, the object storage that holds your data, and the tenant and proxy layer that decides who can read it. Capture each of these before the upgrade so you can compare the running system with the target and roll back if needed.

Running version and effective configuration

Record the exact running Loki version and save the effective configuration the process reports, not only the files in your repository. Defaults can differ between 3.x releases, so the saved output is your baseline for comparing changes. Store it with the deployment manifests and note which settings you overrode. Confirm the target release notes in the Loki upgrade guide before you edit anything, since the guide lists the 3.x changes that affect storage clients, images and the AWS SDK.

Loki upgrade guide

Images, scripts and sidecars that use BusyBox

Docker images for Loki no longer include the BusyBox shell from 3.5.8 onward. Inventory every init container, sidecar, cron job, health check and wrapper script that runs sh, wget, cp or similar commands inside the Loki image or your derived images. Each one that depends on those tools will fail after the upgrade unless you rebuild it with the tools it needs. Record which teams own each item so the fix is not left to the platform group alone.

Object storage backup and versioning

Loki keeps compressed chunks and the index in object storage, so the storage bucket is the data you must protect. Confirm that you have a tested backup or bucket versioning policy for the chunk and index prefixes, and that you know which retention or deletion settings could remove objects during the upgrade window. Check the storage client configuration too, because 3.4 introduced new object storage clients and 3.6 moved the AWS path to SDK v2. A backup is only useful if a restore has been rehearsed.

Tenants, auth_enabled and X-Scope-OrgID clients

List every tenant ID in use, record whether auth_enabled is true, and identify each client that sends the X-Scope-OrgID header. Agents, Grafana data sources, ruler and API scripts may each set the header differently, and a missed client will query or write to the wrong tenant or fail outright. Also record any per-tenant limits, since those belong to the tenant and must survive the upgrade.

Authenticating proxy configuration

Loki has no built-in authentication layer, and its documentation requires an authenticating reverse proxy such as nginx, HAProxy, OAuth2 Proxy or Pomerium in front of it. Export the proxy configuration, including its auth provider settings, header forwarding rules and TLS certificates, because an upgrade can change how Loki sees client headers or paths. Without this capture, a restored or rebuilt proxy may expose the Loki API without any login check.

Loki authentication docs

Test environment that mirrors production

Build a test environment that uses the same object storage type, the same reverse proxy and the same tenant layout as production, then run the upgrade there first. A test cluster that uses the local filesystem will not reveal problems with the S3, GCS or Azure client paths, and one without the proxy will not reveal header or auth issues. Confirm with your team which production data subset is safe to copy and how long a test run must read real queries to be credible.

Upgrade sequence from 3.4 to 3.7 with rollback points

This sequence moves a self-hosted Loki 3.x cluster from 3.4 to 3.7 one minor version at a time, with a verified rollback point at each stage. Each step ends with a check that must pass before the next step starts.

  1. Freeze configuration changes

    The platform owner announces a change freeze for Loki, its proxy, its object storage policies and the Grafana data source that queries it. Any pending edits to limits, retention or tenant settings wait until the upgrade closes. Keep a written list of the freeze owner and the systems covered. The step is done when the change calendar shows the freeze and no open change requests touch the Loki path.

  2. Capture running configuration and image digest

    Before touching anything, export the effective configuration of the running Loki processes and record the container image digest for each component. Store both outside the cluster, in version control or an artifact store your team can read during an incident. Note the retention and auth settings, since retention is disabled by default and auth_enabled controls whether tenant headers are required. The step is done when someone other than the author can restore the snapshot and pull the recorded digest.

  3. Rehearse the upgrade in staging

    Deploy the captured configuration and digest to a staging environment that uses the same deployment mode and an object store with production-like permissions. Then upgrade it through each minor release in the order the upgrade guide gives. Watch for the 3.4 object storage client changes, the removal of the BusyBox shell from Docker images in 3.5.8, which breaks any exec-based scripts, and the AWS SDK v2 change in 3.6.0, which can affect S3 credential handling. The step is done when staging passes every check in steps five and six without manual fixes.

  4. Upgrade components in guide order

    In production, upgrade the Loki components in the order the upgrade guide gives for your deployment mode. Monolithic installs use one target, simple scalable installs upgrade read, write and backend targets, and microservices installs follow the component order in the guide. Simple scalable mode is deprecated and removed in Loki 4.0, so note that if you plan to move later. The step is done when every component reports ready and the ring status is healthy. Rollback means redeploying the recorded image digest and configuration snapshot, and you should confirm in the guide whether any storage or schema change in the path is one-way.

  5. Verify writes and reads through the proxy

    Send a test log stream through your agent path, such as Grafana Alloy, to a test tenant, then query it back through the authenticating reverse proxy using the X-Scope-OrgID header. Loki has no built-in authentication, so the proxy must enforce identity before a request reaches Loki. Confirm that a request without the expected tenant header or identity is refused. The step is done when the written test line returns from the query and the unauthenticated request is denied. If either check fails, restore the proxy routing to the previous Loki version and investigate before continuing.

  6. Confirm the object storage client reads and writes

    Check that the object storage client is writing new chunks and index data to the bucket and reading them back for queries. Review Loki logs for storage authentication, timeout and permission errors, and confirm that the credentials and IAM or endpoint settings still match the new client behavior. Confirm the bucket shows objects with recent timestamps for the test tenant. The step is done when new objects appear, reads return the expected data, and no storage errors appear during a full query cycle. If the client fails, roll back to the recorded image digest and configuration while you resolve the credential or endpoint change.

  7. Record a rollback point before the next minor

    Before starting the next minor version, capture a new configuration export, the running image digests, the object storage state and the test results from steps five and six. Store this record with the earlier snapshot so the team can return to any completed minor version. Name the owner who signs off on moving forward. The step is done when the signed record exists and the team has confirmed that the next minor version has its own rollback point. Repeat steps one through seven for each minor release on the path to 3.7.

How to test an upgrade and roll it back

A useful test of a Loki 3.4 to 3.7 upgrade proves that the paths your users and systems depend on still work on the target version, not just that the new pods start. Run the test against a copy of your production configuration and a representative slice of real data. Ingestion should come from the same shipper you use in production, such as Grafana Alloy, so that the new object storage client and any changed defaults are exercised by real traffic. Confirm that logs arrive with the expected labels and that nothing is rejected by limits. Then query at least one tenant with a LogQL query you use every day, and check results against the old version for the same time range. If you run multi-tenancy, query with the X-Scope-OrgID header for more than one tenant to confirm isolation still holds.

Test the components that are easiest to forget. If retention_enabled is set, let the compactor run through a retention cycle on the test copy and confirm that data past the configured period is removed and that recent data is untouched. Test reverse proxy authentication end to end, because Loki has no built-in authentication layer and the proxy in front of it must still pass identity and tenant headers correctly. Confirm the BusyBox removal in the 3.5.8 images does not break any init container, exec probe or sidecar script you wrote. Rollback means restoring the previous image and the previous configuration together. Before rolling back, check whether the newer version wrote data or index entries that the older version cannot read, and confirm with the upgrade guide for your exact versions which rollback limits apply.

What makes a Loki 3.x upgrade take longer

This table compares the drivers that add work to a move within Loki 3.x, such as deployment mode, custom images and the storage and access layers around Loki. Read each row as a question to answer about your own cluster before estimating effort. The main takeaway is that the effort depends far more on your topology and surrounding systems than on the version numbers alone.

DriverWhy it adds workWhat to ask a partner for
Deployment modeSimple scalable mode is being deprecated and will be removed with Loki 4.0, so a cluster on it carries a later migration on top of the 3.x changes. Monolithic and microservices clusters each have their own component layout to verify.A check of your current mode against the Loki deployment modes documentation, and a plan that says whether the 3.x move should also change mode.
Size and number of tenantsMore tenants and higher daily volume mean more per-tenant limits, more dashboards and alerts to retest, and a longer verification window after each component restarts.A tenant inventory with limits, daily ingest volume and the consumers that query each tenant, plus a staged rollout plan.
Custom images and sidecarsThe 3.5.8 release removed the BusyBox shell from Docker images. Any init container, sidecar or custom image that calls shell commands from that image will fail and must be rebuilt or rewritten.A scan of every image and init container for shell dependencies, with rebuilt images and a test run in a non-production environment.
Custom object storage and S3-compatible storesLoki 3.4 added new object storage clients, and 3.6 moved AWS access to the SDK v2. Storage configuration, credentials and any MinIO or other S3-compatible endpoint must be checked against the new clients.A review of the storage block, endpoint and credential settings, and a test of reads, writes and compaction against the target version.
Reverse proxy and SSO layerLoki has no built-in authentication, so the authenticating proxy, its tenant header rules and the identity provider integration sit in the upgrade path and must keep sending the X-Scope-OrgID header correctly.Proxy and SSO configuration reviewed together with Loki, and login and tenant-header tests run before and after the change.
Intermediate versions to pass throughEach minor release has its own changes, including experimental bloom filter settings in earlier 3.x releases. Skipping a step means reviewing several sets of changes at once.A written path from your current version to the target, listing the release notes and configuration differences for each step.
Monitoring and alertsDashboards and alert rules that depend on renamed or removed metrics, or on a log shipper, will report false results after an upgrade if they are not checked.An inventory of dashboards and alerts that use Loki metrics, a baseline taken before the upgrade and a post-upgrade comparison.

What buyers ask before paying for a Loki upgrade

What does a Loki upgrade typically cost?

The fee follows from the written scope, so no general price applies. The main cost drivers are the number of environments (test, staging, production), how many storage backends, Alloy or agent configurations and Grafana connections are involved, how much custom configuration must be reviewed, and how much test effort the rollback and query checks need. Ask the provider for a quote that lists each environment, each component touched, the test cases and what the fixed deliverables are. DeployOpen does not publish a price list, and its engagements are typically fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How long does a Loki 3.x upgrade take?

The schedule is set by how many environments must be upgraded in sequence, how many change windows your team can offer, how much configuration needs review and how large the production log store is for backup and verification. Version-specific checks such as the object storage client change in 3.4 or the AWS SDK v2 change in 3.6 add review time only when your deployment uses those paths. Ask for a timeline in the written scope that names the change windows and the sign-off points, rather than a single date for the whole project.

What does our team need to provide for the upgrade?

Plan to provide access to the Loki deployment, its object storage buckets and the compactor and ruler configuration, along with a named owner for storage and retention decisions. Tenant contacts are needed when you run multi-tenant Loki, because query and ingestion tests should use real tenant IDs and their expected log volumes. You will also need change windows for each environment, someone to approve production changes and access to the reverse proxy or authentication layer if it sits in the request path.

Can our in-house team upgrade Loki alone using the upgrade guide?

Yes, many teams do, provided they have engineers who can read the official upgrade guide, test the effective configuration and roll back if needed. The guide lists release-specific changes for each version, and the configuration comparison step helps find changed defaults before production. The harder parts are usually the environment-specific checks: confirming that every log shipper still writes, that dashboards and alerts still query correctly and that storage access works under the new clients. Your team should decide whether it has the time and test coverage for those checks.

Is the upgrade a one-time job or recurring work?

A version upgrade is a one-time project for each move, but the underlying work recurs because Loki ships new minor and patch releases over time. Each future move needs its own release notes review, configuration comparison and testing. Ongoing support, upgrades and continuous testing can be bought as a retainer, which covers the recurring cycle instead of a single engagement. Ask whether the quote covers only this move or also documents the procedure so your team can repeat it.

What happens if a check fails during the upgrade?

A failed check should stop the rollout for that environment before the next step begins. Typical responses are to revert the change in the environment that failed, correct the configuration or storage setting, and rerun the checks before anything reaches production. Ask the provider how rollback is defined in the scope, what backups are taken before each change and who decides whether to proceed. Upgrades to a previously tested state are easier to recover from than changes made without a rollback plan.

Does DeployOpen issue audit evidence for the upgrade?

No. DeployOpen prepares systems, controls and evidence for compliance assessments, such as configuration records, test results and change logs, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. Ask for the evidence list in the written scope so your compliance team can see which records will exist after the upgrade and how they map to the controls your auditor reviews.

How DeployOpen scopes and delivers a Loki upgrade

DeployOpen approaches a Loki 3.4 to 3.7 move as a written, fixed-scope change to a cluster you run in your own infrastructure. The work starts from your current configuration and the release notes for each version between your starting point and your target, so every change that affects your storage, index, authentication or container images is known before the upgrade window opens.

How we scope

  • Inventory your current Loki version, deployment mode, object storage backend and index configuration before agreeing any scope.
  • Map each Loki 3.x release note that touches your setup, including object storage clients, experimental features and container images.
  • Record in writing which environments, tenants and dashboards are in scope, and what sign-off the upgrade requires.

How we build

  • Compare the effective configuration of the running and target versions so changed defaults and removed options are found early.
  • Rehearse the upgrade in a non-production copy of your cluster, using the same object storage layout and authentication path.
  • Test ingestion, queries and retention runs against the upgraded copy, and confirm any custom images no longer depend on a BusyBox shell.

How we hand over

  • Deliver a written runbook with the exact configuration diff, rollback steps and the checks run after each stage.
  • Document the cloud or storage permissions that changed, such as credentials used by the AWS SDK v2 client, for your security team.
  • Walk your operators through the post-upgrade dashboards and the alerts to watch during the first days in production.

How we support

  • Offer ongoing support, upgrades and continuous testing for Loki as a retainer, scoped separately from the upgrade itself.
  • Plan the next upgrade step, including the deprecation of simple scalable mode, as a follow-on scope agreed in writing.
  • Confirm release availability and version details against the official Loki releases page before each planned change.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.