You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling /v1/projects/{ref}/analytics/endpoints/logs, the API may return:
{"error": "Table \"<name>\" does not exist."}
Cause: Your SQL query references an individual log source (such as edge_logs or function_logs) directly in the FROM clause. You need to use the unified logs table instead.
Resolution
Query the logs table and filter by the source column.
Before:
SELECTcount(*) AS n FROM function_logs;
After:
SELECTcount(*) AS n FROM logs WHERE source ='function_logs';
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Error:
Table "<name>" does not existWhen calling
/v1/projects/{ref}/analytics/endpoints/logs, the API may return:{"error": "Table \"<name>\" does not exist."}Cause: Your SQL query references an individual log source (such as
edge_logsorfunction_logs) directly in theFROMclause. You need to use the unifiedlogstable instead.Resolution
Query the
logstable and filter by thesourcecolumn.Before:
After:
Example request:
Supported
sourcevaluesedge_logspostgres_logspostgrest_logsauth_logsauth_audit_logsstorage_logsrealtime_logsfunction_edge_logsfunction_logssupavisor_logspgbouncer_logspg_upgrade_logsAll reactions