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

The log courier agent - subscribed to consul KV

Notifications You must be signed in to change notification settings

ChoTotOSS/chaika

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chaika - The log shipper

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)