Skip to content

Logs and diagnostics

This page explains where QubeSight's own service logs are, how to read them from the web interface and from the server, and which diagnostic commands the product provides.

Community Enterprise

Services and containers

QubeSight runs as a set of containers managed by Docker Compose (or Podman with a compose provider). The Compose project is named qubesight unless COMPOSE_PROJECT_NAME is set. Some services have a fixed container name; scalable services (which can run two replicas during an update) do not.

Service Container name Purpose
gateway qubesight_gateway Front door: TLS, routing to UI and API
control-plane assigned by Compose (for example qubesight-control-plane-1) API, scheduled jobs, alert engine
worker assigned by Compose Ingest consumer, writes to ClickHouse, background jobs
snmp-trap assigned by Compose SNMP trap listener (UDP 162)
ui assigned by Compose Web interface
updater qubesight_updater Patches, live logs, support bundle
vector qubesight_vector Syslog intake and parsing
redpanda qubesight_redpanda Kafka-compatible queue
clickhouse qubesight_clickhouse Event database
metadata-db qubesight_metadata_db PostgreSQL settings database
minio qubesight_minio Local locked store (if used)
restore-mysql qubesight_restore_mysql Guardium archive restore database (if enabled)
assistant assigned by Compose Local language model server (if enabled)

The full list with ports is in Containers and services.

Read logs in the web interface

Platform → System and Cluster → Service logs shows the Live Logs card:

  1. Choose a service from the Service list (control-plane is selected first). Services that are not running are marked "(not running)".
  2. The log streams live and the card keeps the most recent lines (about 100). "Connecting…" is shown until the first line arrives. The notice under the header tells you which container replica you are following ("Following container: …"), or why nothing flows, for example "{service} is not running right now; logs will appear when it runs.", "No live logs on this node: the update service is not installed here." or "Too many log streams are open; retrying shortly.". When a stream ends (container stopped, time or size limit, interruption) the card says so and reconnects. If no service on the node has logs, the card shows "No service on this node has live logs to show."
  3. Verbose shows debug and trace lines, which are hidden by default.
  4. Administrators see Download support bundle; see Support bundle.

Live logs are available to the admin, analyst and dba roles. The auditor role sees the tab with "This role cannot view infrastructure logs." The full list of notices is in System and Cluster.

Every line is masked before it reaches the browser: passwords, tokens, keys and connection-string credentials are replaced. Limits per stream: 200 lines per second (excess lines are skipped and counted), 8 KiB per line, 30 minutes or 32 MiB per stream (the page reconnects). At most 16 streams can be open at once.

On a cluster node that has no update service, the card shows the logs of the source node and says so ("No live logs on this node (no update service installed); showing the logs of …").

The lines are shown as the service writes them. Many messages of QubeSight's own server services (for example control-plane and worker) are written in Turkish by design, whatever the interface language; include those lines unchanged when you contact support.

Platform → System and Cluster → Service logs: Live Logs card with the Service selector on ui, Verbose unchecked and the Download support bundle button. Role: admin.

Read logs on the server

Run these commands in the installation directory. With Podman, use podman instead of docker (and podman compose or docker-compose with the Podman socket).

# All containers of the stack and their state
docker compose ps

# Last 200 lines and follow, by Compose service name (works for scalable services)
docker compose logs --tail 200 -f control-plane
docker compose logs --tail 200 -f worker

# By container name
docker logs --tail 200 -f qubesight_vector
docker logs --since 30m qubesight_clickhouse

# Search for a pattern
docker compose logs --since 2h worker 2>&1 | grep -i "error"

Where the files are

Containers log to standard output. With Docker, each container uses the json-file driver with rotation at 50 MB and five files, under Docker's data directory (by default /var/lib/docker/containers/<id>/). With Podman, the location depends on its log driver (journald or k8s-file). Use docker compose logs rather than reading the files directly.

Some components also keep their own logs inside their volumes, for example ClickHouse server logs and system log tables.

What to look for

Service Useful patterns
control-plane level=error, [dns], no such host, cluster, backup, restore
worker [ingest] kafka:, ClickHouse, memory limit, allowlist
vector Reload was not successful, failed to lock buffer.lock, MessageTimedOut, certificate
redpanda SASL, authorization, disk, under-replicated
clickhouse MEMORY_LIMIT_EXCEEDED, Code: 241, Keeper, TOO_MANY_PARTS
gateway tls:, handshake, upstream
updater run, rollback, preflight

Log levels

The product services log at the info level; there is no supported switch for debug logging in release 2.0.110. Debug and trace lines that components emit are hidden in the web view unless Verbose is checked. If support needs more detail, they will provide specific instructions.

Diagnostic commands

The control-plane binary includes read-only diagnostic commands. Run them inside the container:

# Container name resolution check (ok / compensated / broken)
docker compose exec control-plane ./control-plane -dns-check
docker compose exec control-plane ./control-plane -dns-check -json

# Cluster: ClickHouse replication summary
docker compose exec control-plane ./control-plane -cluster-ch-status

# Cluster: list leftovers of an interrupted join (add --remove to clean up)
docker compose exec control-plane ./control-plane -cluster-orphans

# Update service status
docker compose exec updater qubesight-updater status

Health endpoints (/healthz, /readyz) are described in Monitoring and health.

Product records that help diagnosis

Record Where
Self-audit trail: who changed what, patches, backups, restores, certificate changes Assurance Center → Audit & Integrity → Events
Update runs with step-by-step event log Platform → System and Cluster → Update → History
Backup runs, verification reports Platform → Data and Backup → Backup → Backup history
Lifecycle deletions and disk measurements Platform → Data and Backup → Retention → Status and history
Cluster jobs (join, update, remove) Platform → System and Cluster → Cluster, node row, Earlier jobs
Notification delivery attempts Assurance Center → Alerts & Notifications → Delivery queue
What happened to a specific log line Pipeline → Diagnostics