Skip to content
/ chaika Public
forked from ChoTotOSS/chaika

The log courier agent - subscribed to consul KV

Notifications You must be signed in to change notification settings

vietwow/chaika

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chaika - The log shipper

  • Currently, just support ship log over UDP to GELF (graylog), more log format and adapter will be support soon
  • Chaika use consul to register and deregister log info
  • Checkout the log4js appender for NodeJS: https://github.com/duythinht/log4js-chaika-appender

Usage

/chaika -help
Usage of ./chaika:
  -consul-host string
        Consul hostname (default "localhost")
  -consul-port int
        Consul port (default 8500)
  -graylog-host string
        Default graylog host or domain (default "localhost")
  -graylog-port int
        Default graylog port (default 12201)
  -p int
        Port for agent run on (default 2435)

config consul KV with those key

  • /[serviceName]/log/host - log host IP or domain
  • /[serviceName]/log/port - log port IP
  • /[serviceName]/log/type - log format type (current support only gelf)

About

The log courier agent - subscribed to consul KV

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.6%
  • Makefile 1.4%