Skip to content

gwoo/httptail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Httptail

Have fun streaming logs over http. Provide insight into system services without needing to ssh into a server.

Uses server sent events to keep the connection alive and stream the output of the log file.

In a browser, access "http://host:port/file.log" and wait for each line to be printed as it is written to the log.

Usage of ./httptail:
  -addr=":2280": Addr for server
  -creds="admin:password": Optional authentication credentials.
  -dir="/var/log": Base directory where logs are found.

Adding SSL

Files are served through SSL, if a cert.pem and key.pem exist in the current working directory where httptail is started.

To generate a cert and key, use openssl

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem

License

The BSD License http://opensource.org/licenses/bsd-license.php.

About

Tail a file. Especially useful for logs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages