Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

CyCoreSystems/logshipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logshipper

Logshipper is a simple utility to wrap another application, intercept its stdout and stderr output, and ship that to a JSON-encoded-log logging server (such as logstash).

Logshipper itself simply wraps Alan Shreve's log15 tool.

The primary use case for logshipper is to wrap legacy applications which can dump their logs to stdout or stderr for use in a container-based deployment with centralised logging.

logshipper accept the following arguments:

  • -application (optional) set the application tag with the provided name
  • -binary (required) set the program to execute
  • -arguments (optional) set any additional argument to pass to the main executable
  • -prefix (optional) set some text which will be prepended to any log entries
  • -loghost (required) set the loghost and port to which the logs should be sent (ex: log.mydomain.com:9514)

About

A simple executable wrapper for shipping logs to a JSON-based log server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages