Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

logchef

> 数据库
Open source

Lightweight, single-binary log analytics interface for ClickHouse, focused on high-performance querying and visualization

766 stars0 likes1 views
WebsiteGitHub

About

Lightweight, single-binary log analytics interface for ClickHouse, focused on high-performance querying and visualization

The open-source log workspace for ClickHouse and VictoriaLogs. Search, live tail, dashboards, alerts, and access control in one self-hosted binary.

Try Demo · Read Documentation · What's new in v2.0

Logchef is a lightweight, self-hosted log analytics and observability platform for teams that want a strong query and control plane on top of the log backends they already run. Connect ClickHouse, VictoriaLogs, or both. Logchef gives them one workflow for exploration, dashboards, saved queries, alerting, and access control — without moving or reshaping your data.

If you are evaluating VictoriaLogs specifically, start with the VictoriaLogs guide.

Logchef 2.0

Version 2.0 is a major expansion of what Logchef can sit in front of and what teams can do once it is there:

  • VictoriaLogs is a first-class datasource. Use the same LogchefQL search workflow across backends, drop into native LogsQL when you need it, and carry source-level auth, tenant headers, and immutable scope through every query.
  • Build real operational dashboards. Mix ClickHouse and VictoriaLogs panels on one grid, drag and resize them in place, and choose time series, stat, breakdown, or table views.
  • Follow incidents as they unfold. Live tail streams matching rows into the explorer and CLI on both backends, including native VictoriaLogs tailing.
  • Run without an identity provider. Built-in email and password authentication works on its own or alongside OIDC; OIDC deployments can also auto-provision new users safely.
  • Investigate from the terminal. The CLI understands both backends and includes query, native SQL/LogsQL, explain, histogram, fields, history, tail, doctor, and browser hand-off workflows.
  • Ship it with more confidence. v2 adds dashboard caching, ClickHouse query guardrails, opt-in rate limiting, streaming for large ClickHouse results, and a broad security and reliability pass.

Read the v2.0 release notes or try the live demo.

Features

  • Query-first log exploration: Fast filtering with LogchefQL plus native SQL or LogsQL depending on the source.
  • Live tail: Stream matching logs in real time from the explorer.
  • Dashboards: Multi-panel views (time series, stat, breakdown, table) on a shared time range, with a direct-manipulation grid editor.
  • AI Query Assistant: Turn natural language into LogchefQL, ClickHouse SQL, or LogsQL.
  • Scheduled alerting: Evaluate source-aware rules and send email or webhook notifications.
  • OIDC or local auth + RBAC: SSO out of the box, or run without an external identity provider using built-in email+password authentication.
  • Datasource-first: Connect ClickHouse tables, VictoriaLogs instances, or both without reshaping your storage layer.
  • Single binary: One executable, no runtime dependencies.
  • Pluggable metadata store: Zero-config SQLite by default; opt into Postgres for multi-replica high availability.
  • Comprehensive metrics: Prometheus metrics for usage and performance.
  • MCP integration: Model Context Protocol server for AI assistants (logchef-mcp).
  • CLI: Query logs from your terminal with syntax highlighting and multi-context support (query, explain, histogram, tail, doctor, and more).

Quick Start

Docker

bash
# Download the Docker Compose file
curl -LO https://raw.githubusercontent.com/mr-karan/logchef/refs/heads/main/deployment/docker/docker-compose.yml

# Start the services
docker compose up -d

Access the Logchef interface at http://localhost:8125.

Helm

A chart for Kubernetes (Logchef, Dex, and ClickHouse via the Altinity operator) lives in deployment/helm:

bash
helm install logchef ./deployment/helm --namespace logchef --create-namespace

See deployment/helm/values.yaml for options and requirements.

CLI

Logchef includes a cross-platform CLI for querying and investigating logs directly from your terminal.

Install

Find the latest CLI version on the releases page, then set CLI_VERSION and download the build for your platform:

bash
# Set to the latest cli-v* version from the releases page
CLI_VERSION="0.2.1"
BASE=https://github.com/mr-karan/logchef/releases/download/cli-v${CLI_VERSION}

# macOS (Apple Silicon)
curl -LO $BASE/logchef-cli_${CLI_VERSION}_macos-aarch64.tar.gz

# macOS (Intel)
curl -LO $BASE/logchef-cli_${CLI_VERSION}_macos-x86_64.tar.gz

# Linux (x86_64)
curl -LO $BASE/logchef-cli_${CLI_VERSION}_linux-x86_64-musl.tar.gz

# Linux (ARM64)
curl -LO $BASE/logchef-cli_${CLI_VERSION}_linux-aarch64-musl.tar.gz

# Extract and install
tar -xzf logchef-cli_*.tar.gz
sudo mv logchef /usr/local/bin/

Usage

…

For full documentation, see the CLI Guide.

Documentation

For comprehensive documentation, including setup guides, configuration options, and API references, please visit logchef.app.

Contributing

We welcome contributions! To get started:

  1. Development Setup: See our Development Setup Guide:

    bash
    just sqlc-generate
    just dev-docker
    just build
  2. Read the Guidelines: Check CONTRIBUTING.md for detailed contribution guidelines

  3. Find an Issue: Look for issues labeled good first issue or help wanted

  4. Make Your Changes: Follow our coding standards and run just check before submitting

For questions or help, open an issue or start a discussion on GitHub.

Screenshots

License

Logchef is distributed under the terms of the AGPLv3 License.

Credits

The Logchef logo was designed by Namisha Katira.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goclickhouselog-analyticslogging

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库