v1.6.1 May 20, 2026 Latest Release notes →

Patch release. Adds Service accounts — non-login principals you can add to teams and issue scoped API tokens for. Every token now carries an explicit scope list (e.g. logs:read, alerts:write) enforced by middleware, with presets and an active-preset highlight in the picker. The team member dialog distinguishes humans from service accounts, and service principals get a clear badge in team rosters. Also surfaces ClickHouse column comments through the schema API for the new LogChef CLI v0.1.6 to consume.

Added
  • Service accounts — Non-login principals managed at Administration → Service Tokens. Cannot authenticate via OIDC or CLI exchange; exist only to own tokens and team memberships. Learn more →
  • Scoped API tokens — Tokens now carry an explicit list of scopes (logs:read, alerts:write, …). Presets in the picker: Read-only, Logs viewer, Logs analyst, Alerts manager, Source admin, Full access. The active preset stays highlighted while the selection matches.
  • Account-type toggle in Add Team Member — Pick Human user or Service account; the dropdown filters to that type and shows the principal's name with email as a subtitle instead of the raw service-account email.
  • Service account badge in team member tables — bot icon + "Service account" pill so automation principals are visually distinct from humans.
  • Manage teams on each service account card — team chips, a destructive warning when an account is in zero teams (its tokens won't reach any source), and an in-place add/remove dialog.
  • Schema column descriptions — The schema API now surfaces ClickHouse column comments. Consumed by LogChef CLI v0.1.6's schema command.
Changed
  • "Create API Token" defaults to the Read-only preset. Previously defaulted to Full access, which made the scope picker look entirely disabled out of the box.
  • Read-only preset is now every :read scope. Adds tokens:read, users:read, settings:read. Admin-gated routes still enforce admin role separately.
  • /admin/users/* routes 404 on service accounts. Service principals are managed via the dedicated /admin/service-accounts/* path so they can't be promoted through the human-user CRUD path.
Fixed
  • Scope picker checkboxes are interactive again. The component was bound to :checked; the underlying primitive uses model-value. The bug was hidden behind the old Full-access default.
  • Token creation rejects empty scopes (HTTP 400). Requests with no scopes used to silently mint a full-access token.
  • Corrupt or empty stored scopes fail closed. A token row with malformed scope JSON now grants no access instead of full access.
CLI v0.1.6 May 20, 2026 Release notes →

Major CLI release. Adds four new subcommands (saved-queries, find, tail, whoami, auth current), full time-range injection on raw SQL, agent-friendly output formats (msg, json-flat), a symmetric --explain / --dry-run split across query and sql, and TTY-aware highlighting so pipes don't need --no-highlight. Requires Logchef server v1.6.1+ for the saved-queries resolve endpoint and ClickHouse column descriptions.

Added
  • saved-queries — List and run saved queries by name, numeric ID, or a pasted explorer URL. --var, --limit, --show-sql, and all output-format overrides supported.
  • find <pattern> — Discover sources with recent matches for a service, job, host, or message pattern. Each match line is followed by per-column samples: label-shaped columns (service/host/job_name) get the top 3 values with counts; free-form text columns (msg) get one truncated sample row. Suppress with --no-samples. Per-source timeout defaults to 30s.
  • tail <query> — Follow matching LogChefQL rows by polling. text, jsonl, or msg output; stable dedup across column-order changes; one-shot stderr warning when a poll returns at --limit.
  • whoami — Print the authenticated user and accessible teams.
  • auth current — Offline subcommand that prints the active context, server URL, and token source (config vs env), plus the token expiry when it came from saved config. No network call. Useful for "is my LOGCHEF_AUTH_TOKEN even set?" diagnostics.
  • SQL time flags on sql--since / --from / --to inject a timestamp predicate before the first top-level GROUP BY / ORDER BY / LIMIT / HAVING / SETTINGS / FORMAT. The scanner skips string literals, quoted identifiers, comments, and parenthesized subqueries; use __START__ / __END__ placeholders for full control (e.g. CTEs).
  • --explain / --show-sql on query and sql — Print Generated SQL: <sql> to stderr, then continue executing. Plays cleanly with --output jsonl | jq pipes.
  • --dry-run on query and sql — Print the resolved SQL to stdout (no prefix) and exit without keeping results. sql --dry-run is fully offline; query --dry-run calls the server once for LogChefQL translation.
  • --output msg — Print only the message column (one row per line) on query, sql, collections, and saved-queries. Falls back to the first selected column when msg isn't projected.
  • --output json-flat — Hoist JSON-shaped msg fields to top-level JSON rows on query, sql, collections, and saved-queries.
  • LOGCHEF_DEFAULT_TEAM / LOGCHEF_DEFAULT_SOURCE — Env defaults when --team / --source are omitted. Precedence: flag → env → saved config.
  • Schema column descriptionsschema --output text shows a new DESCRIPTION column when the source's ClickHouse columns carry comments; schema --output json includes them inline.
Changed
  • Highlighting auto-disables on non-TTY output. All five subcommands (query, sql, collections, saved-queries, tail) skip ANSI escapes when stdout is piped, so ... | jq and ... > file produce clean output without --no-highlight. The flag still works as an explicit override.
CLI v0.1.5 May 19, 2026 Release notes →
Added
  • CSV export & streaming SQL — New --output csv and --stream flags on logchef sql. Stream large result sets directly without timing out, or pipe them to a CSV file.
  • v1.6.0 API compatibility — CLI now works with Logchef 1.6's de-teamed collections API. Saved queries resolve from your team membership automatically.
Changed
  • Product name standardized — "LogChef" → "Logchef" throughout all CLI help text, prompts, and auth pages.
v1.6.0 May 13, 2026 Release notes →

Logchef 1.6 reorganizes saved queries around Collections — cross-team curation lists you can share with teammates. Teams now exist purely for access control. A new Editor team role sits between Member and Admin: editors can save queries and manage collections without getting full admin rights.

Added
  • Collections — Group saved queries into shareable lists. Everyone gets a personal collection automatically. Shared collections are invite-only; queries you can't run show with a lock icon.
  • Unified Saved Queries page — One place to browse, search, and pin queries. Pick "All Queries", your personal collection, or any shared collection from a dropdown at the top.
  • "Add to Collection" drawer — Open the menu on any saved query and tick the collections you want it pinned to. Create new collections inline.
  • Editor team role — A new role for teammates who curate queries and collections. Editors can save queries, create collections, and invite collection members. They can't invite team members or link sources — those stay admin-only.
  • Share a saved query with a link/logs/saved/:queryId resolves the right team and source automatically, so the recipient lands directly on the query.
  • CSV / JSON downloads stream from the backend with admission control, so very large exports don't tip the server over.
  • Calendar month/year drill-down in the date picker.
  • OIDC skip_email_verified_check — Skip the email-verified claim on providers that don't pass it through (e.g. Cloudflare Access in front of an upstream IdP). (#86)
  • Native ClickHouse TLS — Configure TLS directly in the source connection instead of relying on stunnel/sidecars. (#88)
Changed
  • Save your own queries. The Save button is now visible to every team member (it was hidden from non-admins by mistake). Editing or deleting a saved query still requires the original creator or a global admin.
  • Distinct icons for LogchefQL and SQL in the saved queries list, so you can tell them apart at a glance.
  • Cleaner admin and settings pages — consistent header, sections, and empty-state styling across Users, Teams, Sources, System Settings, Profile, and Preferences.
  • Saved queries belong to a source, not a team. Anyone with source access can see and run them. The team you saved from is just a hint used to pick the right access path.
  • Explore UI polish — quieter top bar, concrete query placeholders, Local|UTC timezone toggle.
Removed
  • Query Folders — replaced by Collections.
  • Bookmarks — your starred queries automatically move to your personal collection.
Fixed
  • Very large query results are now capped ([query] max_limit, default 100k rows) so the browser doesn't run out of memory.
  • Long raw SQL in the URL no longer trips the server's HTTP header size limit.
  • Switching sources is race-free — the explorer waits for the new source's schema before running a query, and a slower in-flight response can't overwrite a faster one.
  • Saved queries open against the right source — the query's source overrides any stale source param in the URL.
  • Export job pruner is crash-safe — interrupted prunes no longer leave orphaned download files.
  • Translate API errors are surfaced to the editor instead of failing silently.
  • Export download URLs are relative, so downloads work behind reverse proxies that rewrite hostnames.
Contributors: @m0nikasingh — OIDC email verification skip (#86), native ClickHouse TLS (#88), AI SQL insert mode fix (#89)
v1.5.0 Apr 8, 2026 Release notes →
Added
  • Smart value autocomplete — Type host= in LogchefQL and get instant value suggestions with occurrence counts from the field sidebar. Works inside quotes, auto-wraps strings, and escapes special characters.
  • Numeric field exploration — Fields like status (UInt16) now auto-load their top values in the sidebar, just like LowCardinality fields.
Changed
  • New visual theme — Upgraded to Tailwind CSS v4 with Vega/Zinc/Blue theme, sharper borders, and bolder chart colors
  • Sidebar collapsed by default — More screen space for logs. Expand via rail hover or Cmd+B
  • Theme toggle — One-click light/dark/system cycle in the sidebar footer
  • Histogram redesign — New Unovis-based charts with brush-drag zoom and crosshair tooltips
  • Lazy-loaded Monaco editor — SQL editor loads on demand for faster initial page load
Fixed
  • Hyphenated field names — Fields like user-identifier now work correctly in all queries (was causing SQL subtraction errors)
  • Better error codes — Invalid field names and query parameters now return HTTP 400 instead of 500
  • Histogram reliability — Fixed tooltip styling, null data crashes, 1-second bucket support, and brush zoom interaction
  • Team admin permissions — Team admins can now manage members on provisioned teams
  • Connection cleanup — Added idle timeout and periodic query tracker cleanup
v1.4.1 Apr 2, 2026 Release notes →
Added
  • Canonical request logging & activity logs — Every API request emits a structured line with method, path, status, latency, user, and team. A companion activity log tracks user-visible state changes for audit.
Changed
  • Product name standardized to "Logchef" — Lingering "LogChef" casing replaced across the UI, docs, and log lines.
  • Session-management logs dropped to DEBUG — Only user.login stays at INFO; the rest was audit-grade noise.
  • slog source field flattened to file:line — Easier to grep, fewer bytes per line.
Fixed
  • Team admins can manage members on provisioned teams. The managed flag was locking them out of all membership edits.
  • Idle ClickHouse connection cleanup — Added IdleTimeout and a periodic QueryTracker sweep so leaked connections don't accumulate.
  • Provisioning docs moved into the sidebar with a clearer "Getting started" sub-section.
v1.4.0 Mar 30, 2026 Release notes →
Added
  • Declarative provisioning — Define teams, sources, and access control in a TOML config file for GitOps workflows. Supports dry-run mode, managed vs unmanaged resources, and a separate provisioning.toml file. Learn more →
  • All Teams collections — Browse saved queries across all your teams from a single page with the new "All Teams" option in the team dropdown.
Fixed
  • Query cancellation — LogchefQL queries now properly cancel end-to-end (was a no-op)
  • SQL mode integrity — Time/limit changes no longer silently rewrite raw SQL queries
  • Histogram accuracy — Timestamp field detection limited to SELECT clause only
  • Post-login redirect — Users return to their original page after OIDC login
  • Calendar UX — Date picker highlights today with default times (00:00:00 / 23:59:59)
  • No duplicate queries — Page load no longer fires the same query twice
CLI v0.1.4 Feb 5, 2026 Release notes →
Added
  • CLI team discovery — New logchef teams command to list teams and IDs
  • CLI source discovery — New logchef sources command to list sources for a team
  • CLI schema view — New logchef schema command to show columns and types for a source
Changed
  • CLI guidance — Missing team/source errors now suggest logchef teams and logchef sources --team <team>
v1.3.0 Feb 5, 2026 Release notes →
Added
  • Configurable query result limit — New [query] max_limit config option (default: 1M rows). Export up to 1 million rows when your infrastructure supports it.
  • User preferences persistence — Your theme, timezone, display mode, and fields panel state now persist across sessions. No more re-setting preferences after every login.
  • Team admins can manage their teams — Team admins now have access to team settings and member management without needing global admin privileges.
  • Source editing and duplication — Edit existing source configurations and quickly duplicate sources for similar setups.
Changed
  • SQL editor max height — Editor now caps at 300px with scrollbar for lengthy queries, leaving more room for results
Fixed
  • Histogram Group By — Histogram now auto-refreshes when changing the Group By column
  • Dark mode date picker — Time icon now visible in dark mode
  • Date picker improvements — Now button auto-applies and initial date format issues resolved
  • JSON auto-parsing — JSON strings embedded in log fields now display as formatted objects
v1.2.2 Jan 27, 2026 Release notes →
Changed
  • Version sidebar matches the running binary — The versionString linker flag is wired through to the UI, so the version badge no longer falls back to unknown.
  • Alertmanager UI settings removed — Obsolete after the SMTP / webhook alert delivery work in v1.2.0.
Fixed
  • TLS migration description corrected — The migration description for the alert-TLS toggle was misleading.
  • Changelog template syntax escaped{{ ... }} examples now render literally instead of being interpolated.
CLI v0.1.3 Jan 27, 2026 Release notes →
Added
  • --timeout on query — Override the server-side query timeout from the CLI.
  • Timezone auto-detection on authlogchef auth records your local IANA timezone in the saved context so subsequent queries use it by default. Config gained a version field for future schema migrations.
  • Pre-built binary install docsdocs/integration/cli now lists download URLs for Linux x86_64/aarch64, macOS x86_64/aarch64, and Windows.
Fixed
  • LogchefQL prompt example — Interactive mode now shows level="error" instead of the older unquoted form.
CLI v0.1.2 Jan 21, 2026 Release notes →
Added
  • Run saved queries from CLI — New logchef collections command to list and execute your saved queries directly from the terminal.
  • Interactive CLI mode — Run logchef query or logchef sql without arguments and get guided prompts to select your team, source, and enter your query.
  • Copy CLI command from web — Click the terminal icon in the explore toolbar to copy the equivalent CLI command for your current query.
v1.2.1 Jan 21, 2026 Release notes →
Fixed
  • Explore history URL hydration — Browser back/forward now correctly restores the previous query and results.
v1.2.0 Jan 21, 2026 Release notes →
Added
  • Logchef CLI — Query your logs from the terminal with syntax highlighting, multi-context support, and all the features of the web UI. Learn more →
  • Multi-select variables — Select multiple values for a variable and they expand to IN (...) clauses. Great for filtering by multiple hosts or services at once.
  • Optional SQL clauses — Wrap SQL clauses in [[ ... ]] and they're automatically removed when the variable is empty. No more "WHERE 1=1" hacks.
  • Variable dropdowns — Configure variables as text inputs, dropdowns, or multi-selects with default values.
  • Browse all saved queries — New "All Sources" view in Collections to see saved queries across your entire team.
  • Direct email & webhook alerts — Send alert notifications via SMTP or webhooks without needing Alertmanager.
Fixed
  • No more database lock errors — Fixed intermittent "SQLITE_BUSY" errors that could occur during high traffic
  • Time ranges now refresh before each query (relative times like "last 1 hour" update correctly)
  • Collections load reliably on first visit
Contributors: @blu3id, @SValanukonda
v1.1.0 Dec 29, 2025 Release notes →
Added
  • Bookmark your favorite queries — Star saved queries for quick access. Bookmarked queries appear at the top of the collections dropdown.
  • Shareable query links — Copy a direct link to any saved query to share with teammates.
Changed
  • Better error messages — Query errors now show exactly where the problem is with helpful suggestions.
  • Faster builds — Development builds are now 25x faster (2s vs 55s).
Fixed
  • Switching between saved queries now shows the correct content immediately
  • Your team and source selection stays consistent when navigating between pages
Contributors: @rhnvrm
v1.0.0 Dec 22, 2025 Release notes →
Added
  • Field explorer sidebar — Browse all fields in your logs, see the most common values, and click to add filters. Just like Kibana's Discover.
  • Cancel running queries — Press Escape or click Cancel to stop long-running queries. Actually cancels in ClickHouse, not just the UI.
  • Auto-fit columns — Double-click a column header border to automatically fit the column to its content.
Changed
  • Cleaner log table — Compact rows, click any cell to copy, and action buttons appear on hover.
v0.6.0 Dec 4, 2025 Release notes →
Added
  • Alerting — Create alerts based on your log queries. Get notified via email, Slack, PagerDuty, or any webhook when conditions are met.
  • Admin settings UI — Configure AI, authentication, and alert settings from the web interface instead of config files.
  • Duplicate sources — Quickly create a new source by copying an existing one.
v0.5.0 Oct 3, 2025 Release notes →
Added
  • Select specific columns — Use the pipe operator to show only the columns you care about: status="500" | timestamp method path
  • Query nested JSON — Filter on deeply nested fields: user.address.city = "NYC"
  • Query history — Quickly access your 10 most recent queries from the editor.
  • Source details — View table schema, TTL settings, and sort keys for any source.
v0.4.0 Aug 12, 2025 Release notes →
Added
  • Query variables — Use {{variable}} in your queries and get input fields to fill in values. Great for reusable dashboards.
  • Prometheus metrics — Monitor Logchef performance with built-in metrics endpoint.
  • Grafana dashboard — Pre-built dashboard for monitoring Logchef in production.
  • Compact view — Terminal-style log display for viewing more logs at once.
Contributors: @songxuanqing
v0.3.0 Jun 13, 2025 Release notes →
Added
  • AI assistant integration — Connect Claude or other AI assistants to query your logs using Model Context Protocol (MCP).
v0.2.2 Jun 12, 2025 Release notes →
Added
  • AI SQL assistant — Describe what you want in plain English and get a ClickHouse SQL query. Works with OpenAI, Claude, and compatible APIs.
  • API tokens — Generate API tokens for programmatic access to Logchef from scripts and automation.
Contributors: @vedang, @r--w, @gowthamgts
v0.2.0 Apr 27, 2025 Release notes →
Initial Release
  • Log Explorer — Search and filter your logs in real-time with an intuitive interface.
  • LogchefQL — Simple query language for filtering logs: level="error" service="api"
  • Full SQL mode — Write raw ClickHouse SQL for advanced queries, aggregations, and joins.
  • Saved queries — Save your frequently used queries and share them with your team.
  • Team workspaces — Organize users and sources into teams with role-based access control.
  • Time histogram — Visual chart showing log volume over time.
  • Dark & light themes — Choose your preferred appearance.