Releases: mr-karan/logchef
Releases · mr-karan/logchef
v1.3.0
Changelog
- 20886ad feat(backend): add variable substitution support to LogchefQL
- f485677 feat: allow team admins to manage their teams
- 639d201 feat: configurable query result limit and UI improvements
- 7eb5519 feat: implement source editing and duplication
- a9e01eb feat: persist user preferences across sessions
- 4ccdb27 fix(frontend): LogchefQL variable substitution and timeout parity
- e5c4503 fix(frontend): address security vulnerabilities and bugs
- 5e36237 fix(frontend): auto-parse embedded JSON strings
- f76c295 fix(frontend): enable text wrapping in JSON viewer log details
- ab564d5 fix(frontend): enforce timestamp order and initial loading
- 3a69dc4 fix(frontend): expand JSON rows and toggle wrapping
- 80035fd fix(frontend): remove client-side SQL validation for optional variables
- 612efd9 fix(variables): auto-apply Now button and fix initial date format
- ebe60d4 fix(variables): emit local datetime strings from date picker
- 59afe90 fix: table auto-resizes when filter sidebar closes
- 5d1e131 release: v1.3.0
LogChef CLI v0.1.4
Full Changelog: v1.3.0...cli-v0.1.4
v1.2.2
Changelog
- 5eeeb37 Merge pull request #74 from mr-karan/develop
- a20b552 chore(cli): bump version to 0.1.3
- c784f05 chore(cli): update dependencies to latest versions
- e8a2ec6 docs(cli): add pre-built binary installation instructions
- b527fc3 feat(cli): add --timeout flag to query command
- 3ebc869 feat(cli): auto-detect timezone on auth and add config versioning
- f0a82c9 fix(alerts): remove obsolete alertmanager settings from UI
- 515fba8 fix(alerts): update TLS setting description in migration
- 116b384 fix(build): inject versionString for UI sidebar display
- 8ccb087 fix(cli): correct LogChefQL syntax in query prompt example
- 91d6eb3 fix(docs): escape template syntax in changelog
LogChef CLI v0.1.3
v1.2.1
v1.2.0
Changelog
- a2af325 Add CLI (#71)
- 574593e Document CLI OIDC config
- 1879f91 Improve CLI auth and config robustness
- 044be55 Merge pull request #67 from SValanukonda/fix/Inconsistencies-found-in-the-Getting-Started-guide
- dd7ca4b Merge pull request #69 from blu3id/fix-explore-y-scroll
- fb9fc37 Simplify config.toml and move defaults to code
- 09ab5d3 ci(cli): improve release workflow with validation, checksums, and ARM64
- 5d6d76e ci(cli): update macOS runners to macos-15
- 4df2f84 docs(cli): update for new JSON output, name resolution, and TTY detection
- 349e89b feat(alerts): add dynamic Alertmanager routing helper
- 0144c0f feat(cli): accept database.table_name format for --source
- d9a1f3b feat(cli): improve JSON output, TTY detection, and name resolution
- 9bf7b6b feat(collections): add 'All Sources' view to show queries across all sources
- 133b8ef feat(query): smart LIMIT handling for SQL mode
- d428877 feat(sql): support CTEs, JOINs, and subqueries with template variables
- 33adc31 feat(ui): show saved query name in browser tab title
- b73527f feat(variables): add multi-select variable type for IN clause expansion
- 962c9f1 feat(variables): add optional clauses and dropdown widgets
- b6bb41e fix(alerts): evaluate condition-type alerts using their generated SQL
- 10ccaa5 fix(alerts): handle edge case in relative time formatting
- 8b784ba fix(alerts): preserve last_triggered_at and use ISO8601 UTC format
- fdaf938 fix(cli): make team/source name lookup case-insensitive
- d2ff1dc fix(collections): resolve race condition causing empty collections on initial load
- 62a67a7 fix(collections): show current editor content when updating saved query
- 9138d35 fix(frontend): suppress error toast for canceled requests on page reload
- a2e8774 fix(query): refresh relative time range before query execution
- 1f2b59b fix(ui): use consistent YYYY-MM-DD format for variable date display
- 8dd97e3 fix(variables): accept datetime-local format without seconds
- abde770 fix: eliminate y-scroll bar on main content area in explorer view
- d660be0 fix: validate template variables and ensure they're sent consistently
- 7998786 fixes-Inconsistencies-in-docs
- b07ead3 refactor: reduce log noise and redact session IDs for security
- d9add04 style(cli): apply cargo fmt
LogChef CLI v0.1.2
Full Changelog: v1.2.0...cli-v0.1.2
LogChef CLI v0.1.0
LogChef CLI v0.1.0
Initial release of the LogChef command-line interface.
Features
- Query logs from the terminal with
logchef query - Multiple output formats: table (default), JSON, compact
- Syntax highlighting for log output
- Team/source resolution by name or ID (case-insensitive)
- Source formats: friendly name (
"Kite Nomad"), table reference (logs.nomad_apps), or numeric ID - OIDC authentication via browser-based flow
- Multi-server support with named profiles
- TTY-aware output: stats shown in terminal, suppressed when piped
Installation
Download the appropriate binary for your platform and add to PATH:
# Linux (x86_64)
curl -LO https://github.com/mr-karan/logchef/releases/download/cli-v0.1.0/logchef-cli_0.1.0_linux-x86_64-musl.tar.gz
tar -xzf logchef-cli_0.1.0_linux-x86_64-musl.tar.gz
sudo mv logchef /usr/local/bin/
# macOS (Apple Silicon)
curl -LO https://github.com/mr-karan/logchef/releases/download/cli-v0.1.0/logchef-cli_0.1.0_macos-aarch64.tar.gz
tar -xzf logchef-cli_0.1.0_macos-aarch64.tar.gz
sudo mv logchef /usr/local/bin/Quick Start
# Add a server
logchef config add-server prod https://logchef.example.com
# Authenticate
logchef auth login
# Query logs
logchef query "level:error" --team myteam --source logs.app --limit 100Documentation
See CLI documentation for full usage details.
v1.1.0
Changelog
- 0bbedb1 Merge PR #60: feat(collections): add bookmark and shareable URL support
- 9a5bf8c Merge pull request #61 from mr-karan/develop
- 6aadee5 Update changelogs for v1.0.0 release
- ec6b26f chore(deps): add participle/v2 for LogChefQL grammar
- 58d050a chore(frontend): migrate to Bun + rolldown-vite
- a94d7d9 chore: release v1.1.0
- eb43cb8 chore: remove dead code and simplify backend
- 47d1e51 chore: upgrade deps, migrate golangci-lint to v2, update changelog
- 7f0f41a feat(collections): add bookmark and shareable URL support
- 7707613 fix(ci): update tests for async LogchefQL translation and use Bun in release workflow
- eb36e7e fix(frontend): display saved query content when editing from Collections
- 7895ca2 fix(frontend): resolve team/source context switching race conditions
- 0d0191a fix(lint): add context propagation for contextcheck compliance
- 5c7b3e7 fix: saved query navigation, validation, and responsive toolbar
- af29356 refactor(frontend): centralize context management with single source of truth
- 8a25dc0 refactor(frontend): establish single source of truth for context state
- 1a62285 refactor(frontend): extract histogram and AI stores from explore store
- 45a0d40 refactor(frontend): fix remaining state management issues in stores
- 33f6f17 refactor(frontend): improve state management and URL sync
- da40376 refactor(frontend): remove dead code from api, utils, and composables
- ea43022 refactor(frontend): remove dead query utility code
- 4e99ba3 refactor(logchefql): rewrite parser with grammar-based approach
- 3672f3f refactor: reduce cyclomatic complexity by extracting helper functions
v1.0.0 🎉
The 1.0 release marks Logchef as production-ready. Eight months of development brought alerting, a proper backend query language, field exploration, and many UX improvements.
Highlights
- Alerting with Alertmanager - SQL-based alerts that integrate with your existing alert routing
- LogchefQL Backend Parser - Full parsing, validation, and type-aware SQL generation in Go
- Field Values Sidebar - Kibana-style field exploration with click-to-filter
- Query Cancellation - Cancel long-running queries in ClickHouse, not just the UI
What's New
Field Values Sidebar
- Kibana-inspired field exploration with top values and click-to-filter
- Progressive per-field loading (max 4 concurrent) with retry on failure
- Hybrid strategy: LowCardinality/Enum auto-load, String fields on-demand
Backend LogchefQL Parser
- Full parsing, validation, and SQL generation moved to Go
- Pipe operator (|), dot notation for JSON, quoted field syntax
- Type-aware SQL for Map, JSON, and String columns
Data Table UX
- Compact rows for better log density
- Click-to-copy cells, expand/collapse chevrons
- Cell actions in floating overlay, unrestricted column resizing
Fixes
- Histogram queries work with MATERIALIZED timestamp columns (#59)
- Context modal (surrounding logs) works with MATERIALIZED columns
- Export in compact mode no longer returns undefined values
- Field values have 15s timeout to prevent query pileup
Breaking Changes
- LogchefQL parsing moved from frontend to backend
- Field values API accepts logchefql param instead of conditions
Changelog
- 0c6d059 Fix alerts create redirect and dark mode AI input
- 1f80f6e Polish landing showcase layout
- eca7ffe Refresh README visuals
- 1004d28 Refresh landing showcase and update screenshots
- 53a9caf Sync frontend pnpm lockfile
- 678454f Update docs assets and dev setup
- 3e8339a chore: remove redundant config files
- d251bd4 feat(ui): improve data table UX and fix toolbar duplicates
- 25b9bd3 feat: add context timeout for field values queries
- bd31ece feat: field sidebar filters by query, improved data table UX
- 5760cbf feat: migrate LogchefQL parser to backend with proper mode separation
- 70fb9a3 feat: progressive per-field loading for field sidebar
- efc537b fix(dev): rename http_logs table to http and enable clickhouse sink
- 3be26ad fix(logs): use offset-based pagination for surrounding logs
- bd5877b fix: export in compact mode returning undefined values
- 1b6fdef fix: histogram queries now work with MATERIALIZED timestamp columns
- 6f248d5 fix: remove unused imports, variables, and functions
- 7363fb0 fix: rename logs prop to data in CompactLogListSimple for consistency
- b738b85 fix: restore lastExecutionKey variable used in query execution