Collecting Shuffle logs on Docker and Kubernetes starts with knowing which component failed
The first step in any Shuffle log collection is deciding which component is failing, because the evidence lives in different places depending on whether the problem sits on the server side or the runtime side. The server side is the frontend, the Go backend API listening on port 5001, and the OpenSearch document database that stores workflows, executions and saved app credentials. The runtime side is Orborus, which polls the backend for jobs, the worker it starts for each workflow execution, and the app containers the worker launches. A workflow that never starts points toward the backend or Orborus. A workflow that starts but returns odd search results or fails to save points toward OpenSearch. A single app action failing with a connection error usually points to the app container or the network it runs on. Before collecting anything, confirm which of these your symptom matches and note the Shuffle version and deployment type, since the Shuffle architecture docs describe Docker Swarm, Docker Compose, hybrid and Kubernetes layouts with different container names and networks.
The decision that follows is whether ad hoc collection is enough or whether you need a central log platform. Ad hoc collection, meaning docker logs or kubectl logs on the affected containers plus a copy of the .env file with secrets removed, works for a single host and a one-time escalation. Container logs are lost when containers are recreated, and worker and app containers are often short-lived, so capture them while the failure is still running. A central platform makes sense when you run several backends or several Orborus nodes, when app containers come and go constantly, or when your security team needs retained evidence for incident timelines. Ask your team to confirm log retention and where each component writes its output before adopting either approach, and confirm with your own platform team which log platform they already support. Treat any log bundle as sensitive, because it can contain execution data and tokens.
How Shuffle log sources flow to a central platform
The diagram starts at the Shuffle host or cluster, where the frontend, backend, OpenSearch, Orborus, worker and app containers each write their own logs. A log shipper such as Grafana Alloy, Fluent Bit or the Docker logging driver collects those streams and forwards them across the trust boundary to a central platform such as Loki or Graylog. Check that every source is captured, that the shipper's own credentials and endpoint are restricted, and that OpenSearch and the encryption secret never appear in shipped output.
Shuffle container logs leave the host through one shipper into a central platform.
Choosing how to collect logs on Docker or Kubernetes
On a single-server Compose install or a Swarm cluster, each Shuffle service writes its standard output and standard error to the Docker engine. The engine keeps those streams through the container's default logging driver, so the first place to look during an incident is the container itself. Logs are tied to the container instance, which means a recreated container starts a new log and the old one may be removed with it.
- Container names: Compose prefixes service names with the project name, so check the exact names with
docker compose psbefore runningdocker logs. Swarm adds task suffixes, so usedocker service logsto see every replica. - Logging driver: Run
docker infoto see the default driver. Ask whether the host usesjson-filewith rotation limits,journaldor a remote driver, because the driver decides where the data sits and how long it stays. - Shipping from files: When the driver writes JSON files under
/var/lib/docker/containers, a file-based shipper can tail them, but it needs read access to that path and must handle rotation. - Orborus and app containers: Orborus starts worker and app containers on demand, so include the runtime containers in your collection, not only the core services.
- Compose files: Confirm the
logging:key and any volume mounts for logs in your owndocker-compose.ymlor stack file, since they are set per service and may differ from the defaults.
Before relying on any of this, check the live container names and logging driver on your own hosts.
On Kubernetes, the kubelet on each node writes container logs to files, and kubectl logs reads those files through the API server. This works for a quick look at one pod, but it only shows the current and previous container instance and disappears when a pod is evicted or a node is replaced. For escalation and retention, you need a collector that runs on every node and forwards logs elsewhere.
- kubectl logs: Use
kubectl logs -n <namespace> <pod> -c <container>and--previousafter a crash. Shuffle pods often run several containers, so always name the container. - Node-level DaemonSet shippers: A DaemonSet runs one collector pod per node and reads the node's container log directory. Confirm the log path in your distribution, since it is commonly under
/var/log/pods. - Cluster log stack: A central platform such as a Loki, Graylog or OpenSearch-based stack receives forwarded logs. Confirm which namespaces and labels the collector selects so Shuffle and Orborus are included.
- Helm values: Check the chart's values for log level settings and any sidecar or logging configuration in your own release, since the defaults in public examples may not match your deployment.
- Runtime pods: Worker and app pods are created per execution, so make sure the collector picks up short-lived pods before they are deleted.
Confirm the pod names, namespaces and log paths with kubectl get pods and your Helm values before writing collector rules.
Both environments can feed a central platform, and the choice of shipper depends on what the platform accepts. Grafana Loki is typically fed by Grafana Alloy, Fluent Bit, Fluentd or the Docker logging driver, and it also ingests OpenTelemetry logs over HTTP. Graylog takes data through inputs such as syslog, GELF and Beats. Decide the platform before you write collector configuration, because the wire format, labels and authentication all depend on it.
- Shipper fit: Match the shipper to the platform's supported inputs. Loki's documentation recommends Grafana Alloy as its supported log shipper.
- Labels and fields: Set container, namespace, pod and Shuffle service labels at collection time so searches can separate backend, frontend, Orborus and OpenSearch output.
- Authentication: Loki has no built-in authentication layer, so place an authenticating reverse proxy in front of it. Tenant identification uses the X-Scope-OrgID header when multi-tenancy is enabled.
- Licensing: Loki is licensed under AGPLv3. Graylog Open is licensed under SSPL-1.0, which is not OSI-approved. Have legal review both before committing.
- Sizing: Confirm daily volume and retention with the platform's sizing guidance before choosing storage.
Verify the license, ingest method and retention settings against current vendor documentation before deployment.
Central log platform options and when each fits
This table compares Grafana Loki and Graylog Open as central destinations for Shuffle container logs on license, storage, deployment size and operating burden. Read each row against your log volume, retention rules and the team that will run the platform. The main takeaway is that Loki fits teams already working in Grafana with object storage, while Graylog fits teams that want a search, stream and alerting product with its own storage backend to operate.
| Criteria | Grafana Loki | Graylog Open |
|---|---|---|
| License | AGPLv3, which Grafana Labs moved to on April 20, 2021 from Apache 2.0 | SSPL-1.0, which is not OSI-approved; confirm the terms fit your legal review |
| Storage model | Compressed log chunks and index in object storage such as S3, GCS or Azure Blob | Log data in Graylog Data Node or self-managed OpenSearch, with metadata in MongoDB |
| Deployment modes or size | Monolithic for small volumes, simple scalable (being deprecated), or microservices for very large clusters | Server nodes plus MongoDB and a search backend; the docs recommend three Graylog and MongoDB nodes for medium to large deployments |
| Log intake for Shuffle | Grafana Alloy, Fluent Bit, Fluentd, the Docker logging driver or OpenTelemetry over HTTP | Syslog, GELF and Beats inputs; you configure a shipper that sends to these inputs |
| Retention control | Disabled by default until retention_enabled is set; rules can be global, per tenant or per stream | Index rotation by message count, size or time, with retention deleting the oldest indices |
| Authentication | No built-in auth; you must place an authenticating reverse proxy in front | Built-in user authentication with its own user and role model |
| Operating burden | Object storage, compactor, query path and reverse proxy to run and monitor | MongoDB replica set, Data Node or OpenSearch cluster, load balancer and index sizing to run |
| Commercial tiers | Grafana Enterprise Logs is a separate product; confirm its terms with Grafana | Graylog Enterprise starts at 15,000 US dollars per year and Graylog Security at 18,000 US dollars per year (Graylog pricing page), each with a 10 GB per day or 100 Compute Unit minimum |
| Best fit | Teams already on Grafana with object storage and a reverse proxy they can maintain | Teams that want alerting and search in one product and can run MongoDB and a search cluster |
Setting up log collection and shipping for Shuffle
This sequence takes a self-hosted Shuffle stack from unknown log output to a central log platform where each component can be searched, filtered and handed over in an escalation bundle. It produces a documented source inventory, consistent labels, verified ingestion and a tested retention and tenant setup.
Inventory every Shuffle container and service
Start by listing each running component in your deployment: the frontend, the Go backend API (which listens on port 5001), the OpenSearch document database, Orborus, the worker containers that Orborus starts for each workflow execution, and the app containers those workers launch. Record the container or pod name, host or node, and whether it runs under Docker Compose, Docker Swarm or Kubernetes, since the architecture depends on your chosen deployment model. Confirm the list against the architecture docs for your version. The step is done when every component has one row in a shared inventory and no running container is unaccounted for.
Choose a log driver or shipper per component
For each inventory row, decide how logs leave the container. Docker hosts can use the Docker logging driver or a shipper such as Fluent Bit or Grafana Alloy; Kubernetes clusters usually run a node-level agent that reads container log files. Consider that OpenSearch writes its own application logs separately from the search data, and that app containers are short-lived, so they need a collection method that does not depend on the container surviving. Confirm with your central platform's documentation which shippers it accepts. The step is done when each component maps to one named collection method, recorded in the inventory.
Apply consistent container and pod labels
Add labels or Kubernetes metadata that let the central platform group logs by component, environment, host and version, for example a component name, an environment name and a Shuffle version tag. Use the same key names across Compose files, Helm values and the shipper configuration so that a query for one component returns the same set everywhere. Avoid labels that change on every execution, because high-cardinality labels make indexing harder on most platforms. The step is done when a sample log line from each component carries the agreed labels in the central platform.
Confirm each source emits lines to the platform
Generate activity in each component, such as a test workflow that runs one app action, a login to the frontend and a restart of a worker, then search the central platform for lines from every source in the inventory. Check timestamps, labels and whether multi-line stack traces stay together. Missing sources usually point to a shipper that cannot read the container runtime path, a label filter that excludes the component or a network rule blocking the push endpoint. The step is done when every inventory row has at least one confirmed line in the platform.
Set retention and tenant or index rules
Decide how long each log stream is kept and who can read it. Platforms differ: Grafana Loki, for example, keeps logs indefinitely unless its compactor retention is enabled, and it identifies tenants through the X-Scope-OrgID header when authentication is on. Graylog uses index sets with rotation and retention settings. Set the retention period and access boundary per stream, and confirm that the chosen setting matches your organization's log handling policy. Ask your platform vendor how retention applies to each stream and how tenant isolation is enforced. The step is done when a documented retention value and access rule exist for each stream and a test user can see only the streams allowed.
Run a test incident and check the escalation bundle
Trigger a controlled failure in a non-production environment, for example a stopped worker or a rejected backend call, and then collect the logs your escalation bundle requires: backend, frontend, Orborus, OpenSearch, worker and app lines covering the incident window. Verify that you can export them with timestamps and labels intact and that a second engineer can reproduce the search without help. Record gaps, such as a missing component or a truncated window, and fix them before relying on the process. The step is done when the test bundle contains every component's logs for the incident window and a reviewer confirms it is usable for escalation.
What to capture for each Shuffle component before escalating
Start from the symptom, then collect the logs for the component that most likely produced it, because a complete bundle of every container is rarely needed and is harder to review. Backend errors on port 5001 belong to the Go backend API, so capture its container output for the minutes around the failure, including request paths and HTTP status codes. Frontend access problems are usually visible in the frontend container log and in the browser's network trace, so note the exact URL, the time and whether the backend answered. When executions hang or never start, collect Orborus output first, since Orborus polls the backend for jobs and starts a worker for each workflow execution; a failed poll or a worker that never launched appears there, and the worker's own log comes next if it did start.
OpenSearch restarts and memory warnings need the container log plus the host-level picture: record the restart count, any out-of-memory messages, and the kernel log entries for the same window, because an OpenSearch container killed by the host looks different from one that exited on its own. For worker and app containers, capture the output of the specific execution, including the workflow and execution identifiers Shuffle shows in the UI, and the app image name and version, since app containers run as versioned Docker containers. Confirm with your own platform team how long your Docker or Kubernetes runtime keeps container logs before rotation removes them. Before anything leaves your environment, redact it: saved app credentials, API keys and the SHUFFLE_ENCRYPTION_MODIFIER value must never appear in logs or tickets, so search each bundle for those strings and for tokens in request headers, and treat any leaked secret as one to rotate.
Security and operational considerations for Shuffle logs
Shuffle logs can expose workflow content, API responses and configuration, so the collection path needs the same controls as the platform itself. The cards below cover what the logs contain, how the log platform authenticates and isolates tenants, how long data is kept, and how the shippers reach the container runtime.
Logs may contain sensitive workflow data
Workflow executions and app calls can write request bodies, API responses, indicators and case details into logs. Treat the log store as a sensitive data store, not as harmless diagnostics. Before you enable debug output, check which fields your workflows pass to apps and whether any of them carry customer, employee or incident data. Confirm who can search the logs and how long copies stay in backups and exports.
Loki needs an authenticating proxy
Loki has no built-in authentication layer, so the Loki documentation requires an authenticating reverse proxy such as nginx, HAProxy, OAuth2 Proxy or Pomerium in front of it. Place the proxy on the write and read paths, and keep the Loki port off any network that users or shippers do not need. Confirm that the proxy, not the client, decides the tenant.
Loki authentication docsTenant isolation with X-Scope-OrgID
When auth_enabled is true, Loki identifies each tenant through the X-Scope-OrgID header on every request. A client that can set this header can read another tenant's logs unless the proxy overwrites it. Separate Shuffle environments or customers into distinct tenants only after the proxy strips any header supplied by the caller and sets the value itself.
Graylog needs its own user accounts
Graylog manages its own user authentication, so access control for Shuffle logs is configured inside Graylog, separately from Shuffle's SSO. Create named accounts with roles that match the investigation work, remove default or shared logins, and review which streams each role can search. Confirm how Graylog's user authentication options fit your identity provider before you go live.
Graylog authentication docsRetention is off by default in Loki
Loki's compactor applies retention only when retention_enabled is set, so logs persist indefinitely until you configure a policy. Decide how long Shuffle logs must stay for troubleshooting and for your own audit needs, then set retention globally, per tenant or per stream selector. Remember that each stream rule must be at least 24 hours, and confirm the policy with your compliance team before data grows unbounded.
Least-privilege access for shippers
Log shippers that read container logs from the Docker socket effectively gain control over the host, and node-path mounts expose files beyond logs. Run the shipper with the narrowest mount and group access that still reads the required log paths, and avoid privileged containers where the runtime's logging driver can do the job. Review the shipper's mounts whenever you change the runtime or add nodes.
Questions buyers ask about Shuffle log collection
How much effort and time does a Shuffle log pipeline take?
The effort depends less on Shuffle than on the central platform you choose and how many services you ship. A pipeline has four parts: collecting container logs from each Shuffle service, labeling them consistently, storing them in a backend, and building the searches and alerts your team uses. The biggest drivers are the number of nodes and containers, whether you run Docker Compose, Swarm or Kubernetes, how much data each service writes at debug level, and whether the central platform is a single node or a clustered deployment. Ask any partner for a written scope that lists each service, each log source and each acceptance check, because those items set the timeline more than the choice of tool.
Can our team build a Shuffle log pipeline without outside help?
A team with container and Linux operations experience can usually build a basic pipeline from the vendor documentation, provided it has someone who understands the Shuffle architecture. Shuffle's backend, frontend, Orborus, OpenSearch and worker containers each write logs in different ways, and Orborus starts a worker for each workflow execution, so the team has to know where each component's output goes. Outside help is most useful for designing labels and retention, hardening the central platform, and rehearsing an escalation package before an incident. Confirm internally who will own the pipeline after handover, since a log system that nobody maintains stops being useful during the first outage.
What does the work need from our platform and security teams?
Platform engineers need to provide container host access, a storage target with enough capacity, network paths from the collectors to the central platform, and a place to run the central service. Security teams need to approve which log fields are kept, because Shuffle workflow logs can contain alert data, indicators and sometimes personal data. Both teams should agree on who may read the logs, how access is granted, and how the central platform is protected. Loki, for example, has no built-in authentication layer and needs an authenticating reverse proxy in front of it, so that decision must be made before the platform is exposed to users.
Do Loki or Graylog cost money?
Loki is licensed under AGPLv3, and Grafana Labs announced on April 20, 2021 that Loki and its other core projects would move from Apache License 2.0 to AGPLv3. The software itself is free to run, but the costs remain: compute, object storage, operator time and any support contract. Graylog Open is free with no volume limits and community support according to the Graylog pricing page. Graylog Enterprise starts at 15,000 US dollars per year and Graylog Security at 18,000 US dollars per year, each with a minimum of 10 GB per day or 100 Graylog Compute Units, licensed on processed data with no per-user or per-device fees. Confirm current figures on the Graylog pricing page before budgeting.
How long should we keep Shuffle logs, and what drives retention?
Retention is a policy decision that should come from your incident response, audit and regulatory obligations, not from the tool. Loki keeps logs indefinitely until retention is enabled, since the compactor retention setting is disabled by default, and it can apply retention globally, per tenant or per stream selector, with each stream rule at least 24 hours. Graylog deletes the oldest indices under its index rotation and retention settings. The main drivers are daily ingest volume, the number of days you keep, storage growth from debug logging, and the cost of the storage tier. For Graylog, the system architecture guidance advises sizing storage as daily ingest times retention days times 120 percent, so a daily ingest estimate is the first number to measure.
Must Shuffle logs be sent to a SIEM?
Not necessarily. Shuffle logs are operational records that help you troubleshoot executions, Orborus connectivity and OpenSearch problems, so they can live in a logging platform such as Loki or Graylog. Whether they must also reach a SIEM depends on your monitoring, detection and regulatory requirements, and on whether your SIEM is already the place your security team searches. If a SIEM is required, decide which fields and events to forward, since sending everything can raise cost and expose sensitive data. Confirm the requirement with your security and compliance leads and with the owners of the SIEM before the pipeline design is fixed.
Which Shuffle logs matter first when a workflow gets stuck?
Start with the backend, Orborus and the worker logs for the affected execution, because those show whether a job was picked up, whether a worker started and whether an app container responded. OpenSearch logs help when executions fail to save or when the backend reports timeouts. Keep the frontend logs for access and login problems. In a troubleshooting package, record the Shuffle version, the Docker tag or Helm chart version, the deployment architecture, the workflow execution ID and the time window. Shuffle v2.3.0 was published on September 28, 2026, so note which version is running before comparing logs with release notes.
How DeployOpen scopes Shuffle log collection work
DeployOpen is a Chainscore Labs company that plans, implements and hardens self-hosted open-source platforms inside the client's own infrastructure, including Shuffle stacks running on Docker or Kubernetes. Log collection is scoped in a written, fixed-scope agreement before work starts, so the client knows which sources are in scope, where the logs will land and who reviews them. For this topic, the scope usually lists the backend, frontend, Orborus, OpenSearch, worker and app container logs, the hosts or clusters they come from, the log shipper chosen for each runtime, and the central platform that receives them. It also states which logs carry secrets or personal data and how those are masked or excluded before shipping.
The written scope should answer several questions that change the effort. Is the central platform already in place, or does it need to be built? Will it be Grafana Loki or Graylog, and if so, is it self-hosted in the same infrastructure? Which retention period and access model does the security or compliance team require for these logs? Does the Shuffle deployment run on Docker Compose, Swarm or Kubernetes with Helm, since each runtime changes how container logs are read? Each answer adds or removes work, so the scope document should name them explicitly. A quote follows from that written scope. DeployOpen does not publish a price list, and the quote does not depend on a fixed rate card that applies to every client.
After the first delivery, many clients keep the log pipeline current through upgrades and retainers. Shuffle releases, Loki or Graylog version changes and new app containers all change what the pipeline sees, so an agreed support arrangement can cover upgrade testing, checks that logs still arrive and changes to filters or retention. DeployOpen can also run security testing on the logging path itself, including whether log access is limited to the right staff. Ask for the scope, deliverables, acceptance checks and support terms in writing before you compare proposals, and confirm which parts of the work your own team will keep.

