View realtime logs in your fav browser
Local, Docker, Remote, Pipes
Advanced regex search
Low Mem Footprint
Single binary
Quick Setup: One command to install and run.
Hassle Free: Doesn't require elastic search or other shebang.
Platform: Supports (arm64, arch64, Mac, Mac M1, Ubuntu and Windows).
Flexible: View docker logs, remote logs over ssh, files on disk and piped inputs in browser.
Intelligent Smartly judges log level, and dates.
Search Fast search with regex.
Realtime Tail logs in real time in browser.
Watch Changes Supports log rotation and watch for new log files.
Reports from coveritup
Use this method if go is not installed on your server
curl -sL https://raw.githubusercontent.com/kevincobain2000/gol/master/install.sh | sh
# run in current directory for pattern
gol "*log" "access/*log.tar.gz"
All patterns work in combination with each other.
# search using pipe and file patterns
demsg | gol -f="/var/log/*.log"
# over ssh
# port optional (default 22), password optional (default ''), private_key optional (default $HOME/.ssh/id_rsa)
gol -s="user@host[:port] [password=/path/to/password] [private_key=/path/to/key] /app/*logs"
# Docker all container logs
gol -d=""
# Docker specific container logs
gol -d="container-id"
# Docker specific path on a container
gol -d="container-id /app/logs.log"
# All patterns combined
gol -d="container-id" \
-d="container-id /app/logs.log" \
-s="user@host[:port] [password=/path/to/password] [private_key=/path/to/key] /app/*logs" \
-f="/var/log/*.log"
- v1.0.0 - Initial release.
- v1.0.3 - Multiple file patterns, and pipe input support.
- v1.0.4 - Support os.Args for quick view.
- v1.0.5 - Support ssh logs.
- v1.0.6 - UI shows grouped output.
- v1.0.7 - Support docker logs.
- v1.0.14 - Sleak UI changes and support dates.
- v1.0.17 - Support both ignore and include patterns.
- v1.0.21 - Better logging.
- v1.0.22 - Support UA.
- v1.0.24 - Dropdown on files.
- Docker Logs: Only supports logs from containers running on the same machine.