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

Latest commit

 

History

History
27 lines (21 loc) · 910 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 910 Bytes

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)