Skip to content

Example implementation of a log server for receiving compressed data

License

Notifications You must be signed in to change notification settings

althea-net/compressed_log_sink

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compressed_log_sink

A WebSocket server that accepts compressed log buffers streamed by compressed_log crate.

Usage

Usage:
  compressed_log_sink [ --bind=<address> ] [ --output=<stream> ] --cert=<cert-path> --key=<key-path>
  compressed_log_sink (-h | --help)
  compressed_log_sink --version

Options:
  -h --help     Show this screen.
  --version     Show version.
  --bind=<address>  Bind to address [default: 0.0.0.0:9999].
  --output=<stream>  Output stream [default: stdout].
  --cert=<path>     Https certificate chain.
  --key=<path>     Https keyfile.

Options:

  • --bind - Specify an address to bind the HTTP server to. By default it uses 0.0.0.0:9999.
  • --output - Specify an output stream. A special file name - means the server will always write logs to stdout, otherwise a file is created in append mode.
  • --cert - Specify a PEM formatted certificiate chain (fullchain.pem by default for LetsEncrypt)
  • --key - Specify a PEM formatted private key to match the certificate chain

About

Example implementation of a log server for receiving compressed data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%