--- title: "Diagnose platform health and logs" slug: "build-ai-ready-systems-operate-platform-diagnose-platform-health-logs" description: "Diagnose platform health across Controller, dependencies, identity and applications, using bounded logs and evidence for the responsible owner." tags: ["Deployment", "Platform Operations", "Developer", "Operator"] updated: 2026-12-01T08:10:26Z published: 2026-12-01T08:10:26Z canonical: "docs.aifabrix.ai/build-ai-ready-systems-operate-platform-diagnose-platform-health-logs" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.aifabrix.ai/llms.txt > Use this file to discover all available pages before exploring further. # Diagnose platform health and logs Collect enough evidence to identify a failing platform layer while keeping the intended user and resource context. Start with [Monitor platform health](/docs/operate-platform-monitor-platform-health) and the [operator overview](/docs/adopt-operator-overview) for acceptance and escalation ownership. ## Prerequisites Identify the canonical Controller, environment, application and expected operation. Use an authorized user session for monitoring and the appropriate log family. The examples follow Miso 2.1.65 and Builder 2.71.0 source contracts. Check the installed [API reference](/docs/reference) for request parameters and authorization before building automated diagnostics. Prepare a short UTC observation window and protected evidence location. Exclude tokens, secret values, personal payloads and raw bootstrap/configuration responses from ordinary tickets. A development test key is not a production user authentication method. ## Where it lives Controller health and dependency information are different from application health and deployment state. General, audit and job logs have separate purposes and permissions. Azure hosting diagnostics add provider evidence. Local Docker container logs are available through Builder; that command is not an Azure log query. ## How to set 1. Confirm target and identity: ``` aifabrix auth status aifabrix app show ``` Record environment, expected effective version and the operation that fails. Avoid replacing a denied user with an administrator to make the failure disappear. 2. Use your authorized API client or monitoring system to inspect these installed Controller operations: | Request | Evidence | | --- | --- | | `GET /api/v1/health` | Application health response under that endpoint's contract | | `GET /api/v1/controller` | Controller and dependency information available in that version | | `GET /api/v1/logs/general` | Runtime diagnostics | | `GET /api/v1/logs/audit` | Actor/resource action history | | `GET /api/v1/logs/jobs` | Job execution history | Use bounded, supported pagination and filters. General log reads require `logs:read` or `admin:read`; other families enforce their own permissions. Do not assume a single-record log endpoint is implemented merely because list works. Root hosting health and readiness/liveness probes can have different shapes; use the deployment's actual monitor configuration. 3. If a change is active, follow its ID: ``` aifabrix deployment get --logs aifabrix app deployment ``` Inspect terminal result, not just submission. Keep correlation and job IDs so runtime and provider records can be joined without copying sensitive bodies. 4. For the local Docker platform only, inspect bounded logs: ``` aifabrix logs miso-controller --tail 100 aifabrix logs dataplane --level error ``` The CLI does not print container environment variables. Logs can still contain sensitive application output, so review before sharing. For Azure use the installation's authorized hosting log access, not local Docker logs. 5. Repeat the failing business operation under the original user. For asynchronous work, inspect worker/scheduler heartbeat and job completion separately. Dataplane health can precede identity synchronization readiness; a missing identity mapping needs synchronization diagnosis, not an authorization bypass. ## Defaults and examples Local logs default to the last 100 lines. `--tail` changes that window and `--level` filters severity. Absence of error lines is not proof of health. Retained online log history and diagnostic archives are distinct; inspect configured hot/total retention before assuming an older incident is still queryable. Audit access does not imply permission to expose its contents broadly. ## Validate Your incident record should identify target, effective version, UTC window, failing layer, intended identity/resource, deployment/correlation IDs and a focused next action. Route network/TLS failures to hosting, denied access to identity/permissions, required-setting failures to configuration and startup/migration failures to application/database ownership. After an approved repair, repeat the exact failing check and representative operation and retain the observed result. ## Common mistakes | Observation | Action | | --- | --- | | Local logs are used to investigate Azure | Use authorized Azure hosting diagnostics for the remote target. | | API health passes but background work fails | Inspect worker/scheduler and job completion separately. | | Another user succeeds | Retest the original identity and resource scope. | ## Query Controller logs with bounded filters The reviewed general-log API accepts environment, application, external-system, user, correlationId, startDate, endDate and search filters, with supported pagination/sort options. Use the installed OpenAPI contract for accepted names and shapes. Send offset-qualified timestamps in a short window; preserve the timezone when comparing browser and API output. For example, use an authorized API client to request **GET /api/v1/logs/general** with environment **dev**, application **miso-controller**, and a bounded **startDate/endDate** window around the incident. Add **correlationId** only when you have the actual identifier. Do not paste authentication headers into the incident record. Inspect the response pagination before assuming the first page is complete. Audit and job endpoints have their own contracts and permissions. The portal exposes General Logs, Audit Logs and Error Logs; the existence of the jobs endpoint does not imply a Job Logs tab. See [Read Controller logs and audit](/docs/operate-platform-read-controller-logs-audit) for browser filtering and CSV/JSON export. A successful empty response differs from a denied or unavailable request. Confirm target, filters and clock offset before widening the window. An export captures a bounded selection, not a guaranteed historical archive; obtain retention requirements from the installation owner. ## Limits This source-reviewed procedure does not prove live availability or retention for a particular installation. API health alone does not prove background work, identity readiness or integration certification. Use supported field/filter contracts from the installed API and your authorized client; do not invent a universal health or remote-log command. ## Related - [Follow and recover deployments](/build-ai-ready-systems-operate-platform-follow-recover-deployments.md) - [Operator overview](/adopt-operator-overview.md) - [Monitor platform health](/operate-platform-monitor-platform-health.md) - [Read Controller logs and audit](/operate-platform-read-controller-logs-audit.md)