#collect #kong #logs #receive #plugin #http #http-log

nightly app kong-log-server

Receive and collect logs from Kong's HTTP Log plugin

1 unstable release

0.1.0 Jun 23, 2019

#44 in #receive

MIT license

4KB

Kong Log Server

Receive and collect logs from Kong's HTTP Log plugin.

Features

  • Receive logs from Kong's HTTP Log plugin
  • Save to logfile through Redirection
  • Save logs to MongoDB
  • Query logs from MongoDB

Build and Deploy

docker start -i centos-rust
cd /Rust/kong-log-server
source $HOME/.cargo/env
cargo build --release
exit
scp ./target/release/kong-log-server junfeng@10.10.100.17:/home/junfeng
nohup ./kong-log-server > kong-2019-06-20.log &
sudo /usr/local/bin/kong reload

Dependencies

~7–15MB
~215K SLoC