# 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. ## Install Save as a script file and run: # Logdy — Real-Time Log Viewer with Web UI ## Quick Use ```bash # Pipe any log stream into Logdy tail -f /var/log/syslog | logdy # Or run standalone and follow a file logdy follow /var/log/app.log # Open http://localhost:8080 in your browser ``` ## 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 - https://github.com/logdyhq/logdy-core - https://logdy.dev --- Source: https://tokrepo.com/en/workflows/asset-eb94875c Author: Script Depot