kong-log-server

Crates.iokong-log-server
lib.rskong-log-server
version0.1.0
sourcesrc
created_at2019-06-23 10:11:24.049603
updated_at2019-06-23 10:11:24.049603
descriptionReceive and collect logs from Kong's HTTP Log plugin.
homepage
repositoryhttps://github.com/J-F-Liu/kong-log-server.git
max_upload_size
id142971
size5,756
Junfeng Liu (J-F-Liu)

documentation

README

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
Commit count: 3

cargo fmt