Real-time streaming log viewer with WebSocket support, level filtering, and search.
#log-viewer #log-tail #websockets #fastapi #observability #devops #monitoring
- Multi-Source Log Tailing: Tail multiple log files concurrently from your server.
- Auto-Detect Log Levels: Automatically classifies
ERROR,WARN,INFO,DEBUG, andCRITICAL. - Real-Time Streaming: Pushes new log lines to connected browsers instantly via WebSockets.
- Search & Filter: Filter logs by origin source, minimum severity level, or substring query.
- Terminal UI: Dark terminal-style interface with auto-scroll and line buffering.
# 1. Copy config
cp config.example.yml config.yml
# 2. Install & Run
pip install -r requirements.txt
uvicorn server:app --reloadOpen http://localhost:8000 in your browser.
docker build -t logpipe .
docker run -v /var/log:/app/logs -p 8000:8000 logpipesources:
- name: app
path: ./logs/app.log
- name: nginx
path: /var/log/nginx/access.log
max_lines: 1000
host: 0.0.0.0
port: 8000