mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
## Problem The unified CLI logs commands need a public guide. The existing SQL guide also says the CLI cannot query hosted ClickHouse logs, which is only true for v2. ## Fix Add **Logs in the CLI** to the Observability navigation and overview cards. Cover local and remote queries, filters and time ranges, interactive versus JSON output, exports, SQL, command options, migration, and troubleshooting. Include screenshots of the explorer and full record details using demo local logs. Keep the v2 CLI reference unchanged and update links from the existing logs and SQL guides. Merge after the CLI version with unified logs is released. Tracks [DEBUG-267](https://linear.app/supabase/issue/DEBUG-267) and [DEBUG-268](https://linear.app/supabase/issue/DEBUG-268). ## How to test Open `/docs/guides/observability/cli-logs` in the preview. Check the section order, images, option tables, and links from Observability, Logs in Studio, and Query logs with SQL. Local examples were verified using the CLI PR build and retained log fixtures. Hosted examples were checked against the implementation but were not rerun against a live project for this docs change. ## Screenshots Explorer showing demo local logs:  Full selected record: 