View realtime logs in browser
Advanced regex search
Low Memory 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: Works with multiple logs file, with massive size support.
Remote: View remote logs over ssh in browser.
Pipe: Supports piped inputs.
Supports Plain text, piped inputs, ansii outputs, tar and gz compressed.
Intelligent Smartly judges log level.
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 *log & ./*/*log
gol
# run in current directory for pattern
gol "storage/*log" "access/*log"
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"
Full Options
gol -h
- 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.