NeonAndre Landgraf3 min readintermediate
Query Neon backend logs
Summary
Neon has introduced new capabilities to query backend logs for Neon Functions and Object Storage outside of the console. This includes a new CLI, API, SDK, and direct Loki endpoint access, allowing unified log inspection across different backend services on a branch.
- Query Neon Functions and Object Storage logs via the `neon logs` CLI.
- Filter logs by source, severity, message text, or raw LogQL expressions.
- Access logs programmatically through the Neon MCP server, Logs API, or @neon/sdk.
- Raw Loki endpoints are exposed for direct integration with Grafana and other tools.
Engineers debugging applications built on Neon's backend services can now get a consolidated view of logs, simplifying troubleshooting across serverless functions and object storage.
6/10





