proomt

Search

Search posts, papers, and topics

All posts

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

Related reading

  1. Just landed in the Neon CLI

    Neon renamed its CLI to `neon` and added a suite of commands for agent onboarding, branch‑first development, diagnostics, credential management, schema diffing, API fallback, snapshots, auth, Data API, and a built‑in psql client. The post lists usage examples and flags for each new feature.

    Neonneon.com5 minrelease
  2. Neon Functions: backend logic next to your data

    Neon Functions are server‑less Node.js 24 compute that run on the same branch and region as Neon’s Lakebase Postgres, giving low‑latency DB access, long‑running connections for agents/WebSockets, automatic credential injection, and branch‑aware deployment via neon.ts. They’re meant for data‑adjacent backend logic, not full‑stack hosting, and future plans include native cron and event triggers.

    Neonneon.com5 min
  3. Neon is now available in Grok Bot

    Neon released a Grok Bot plugin that lets the AI assistant manage Neon PostgreSQL databases. After a one‑time auth, the bot can create projects, spin up isolated branches, run SQL, list databases, and set up usage‑summary routines directly from chat.

    Neonneon.com1 min
  4. LLMs belong in your backend

    Neon AI Gateway integrates LLM calls directly into the Neon backend, offering a unified API for various models (frontier and open-weight) and consolidating billing. It extends Neon's branching capabilities to LLM endpoints, allowing each development branch to have its own isolated AI Gateway host and credentials.

    Neonneon.com7 min
  5. Introducing Neon Labs

    Neon Labs is a new experimental web app (Next.js + TypeScript) that offers two PostgreSQL upgrade tools: a live‑catalog Upgrade Assessment that flags version‑specific blockers, and a Migration Assistant that auto‑generates import, pg_dump/restore, or logical‑replication pipelines based on DB size and downtime needs. The tools run read‑only against a Neon project, never expose connection strings,…

    Neonneon.com6 minrelease
  6. Neon skills landed in the Vercel CLI

    Vercel CLI now integrates Neon, allowing users to provision a Neon database and install its agent skills with a single command. This streamlines database setup for Vercel projects, including automatic isolated branches for preview deployments.

    Neonneon.com4 minrelease