Skip to content

A simple daemon to act as a logstash receiver and put logs into ClickHouse

Notifications You must be signed in to change notification settings

xaionaro-go/log2clickhouse

 
 

Repository files navigation

This's a daemon put raw JSON's into a ClickHouse's table. Supposed to be used for logging.

go run ./cmd/log2clickhouse/

On 3 KRPS (while CH merging process):

Tasks: 194 total,   1 running, 193 sleeping,   0 stopped,   0 zombie
%Cpu(s): 11.2 us,  0.8 sy,  0.0 ni, 86.3 id,  1.7 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 16316864 total,  4081240 free,  2947736 used,  9287888 buff/cache
KiB Swap:        0 total,        0 free,        0 used. 12791728 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 8852 clickho+  20   0 11.310g 1.187g  31476 S  87.5  7.6  51:59.70 clickhouse-serv
  424 xaionaro  20   0 4944000 1.487g   7944 S   6.2  9.6   0:21.95 log2clickhouse
24646 root      20   0       0      0      0 S   0.5  0.0   0:04.29 kworker/u16:3                                                             

About

A simple daemon to act as a logstash receiver and put logs into ClickHouse

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%