Scripts2026年7月6日·1 分钟阅读

Logdy — Real-Time Log Viewer with Web UI

Logdy is a lightweight log viewer that provides a real-time web interface for tailing, filtering, and analyzing log streams from any source, directly in your browser.

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 64/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Logdy Log Viewer
先审查命令
npx -y tokrepo@latest install eb94875c-78f2-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run,确认写入项后再运行此命令。

Introduction

Logdy is a lightweight, real-time log viewer that turns any text stream into an interactive web dashboard. Pipe logs from any command, file, or container into Logdy and instantly get filtering, searching, column parsing, and live tailing in your browser.

What Logdy Does

  • Accepts log input from stdin pipes, file tailing, or HTTP ingestion
  • Renders logs in a real-time web UI with auto-scrolling and pause controls
  • Parses structured logs (JSON, key-value) into searchable, sortable columns
  • Filters and highlights log lines by level, keyword, or regex pattern
  • Exports filtered results to JSON or CSV for offline analysis

Architecture Overview

Logdy is a single Go binary that reads log input (stdin, file, or HTTP endpoint), buffers lines in memory, and serves them to a built-in web frontend via WebSocket. The browser UI is a lightweight JavaScript application that handles rendering, filtering, and search client-side. No database or external dependencies are needed.

Self-Hosting & Configuration

  • Download a single binary for Linux, macOS, or Windows from the releases page
  • Pipe any command output directly: my-app | logdy
  • Follow files with logdy follow /path/to/logfile
  • Set the port with --port 9000 if the default 8080 is in use
  • Use logdy stdin --filter to apply server-side regex filtering before the UI

Key Features

  • Single binary with zero dependencies; no install, no config files needed
  • Real-time streaming via WebSocket keeps the browser UI live and responsive
  • Automatic JSON parsing splits structured log fields into sortable columns
  • Regex-based filtering and highlighting for quick log triage
  • Works with any text stream: application logs, Docker logs, journalctl, kubectl

Comparison with Similar Tools

  • lnav — terminal-based log navigator; Logdy provides a web UI accessible from any browser
  • Grafana Loki — distributed log aggregation; Logdy is a lightweight single-binary viewer
  • Dozzle — Docker container logs only; Logdy works with any text stream or file
  • GoAccess — access-log analytics; Logdy is a general-purpose log viewer
  • Seq — structured log server with storage; Logdy is ephemeral and pipe-driven

FAQ

Q: Does Logdy store logs permanently? A: No. Logdy buffers recent lines in memory for the web UI. It is designed for real-time viewing, not long-term storage.

Q: Can I use Logdy with Docker container logs? A: Yes. Pipe Docker logs with docker logs -f container_name | logdy.

Q: Does Logdy support JSON logs? A: Yes. JSON log lines are automatically parsed into columns that you can sort and filter in the UI.

Q: Can multiple users view the same log stream? A: Yes. Multiple browser tabs or users can connect to the same Logdy instance simultaneously.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产