Giter Site home page Giter Site logo

shengxinking / xlog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qidasheng/xlog

1.0 2.0 0.0 1.19 MB

基于linux c开发的多进程、低系统消耗的日志收集客户端、可结合flume、kafka同时对多个日志源进行日志的实时收集。

Makefile 3.39% Groff 81.88% Shell 8.08% C 6.65%

xlog's Introduction

xlog功能

实时收集指定日志文件内容,发送到sources类型为netcat的flume端(理论上支持所有以socket形式监听的日志收集服务端)
可以满足单个日志文件的实时收集,可以配置nginx每个项目一个日志文件,每个日志文件一个单独的进程进行收集;并且对系统cpu、io、带宽、内存占用极低.

安装xlog

下载

git clone https://github.com/qidasheng/xlog.git 

脚本一键安装

/bin/sh run.sh

一步一步安装

./configure   
make    
make install

清理

make clean

卸载

make uninstall

配置

根目录xlog.conf有注解

运行

xlog -c xlog.conf 

后台运行

配置
daemonize = yes    
或者     
xlog -c xlog.conf -d

xlog's People

Contributors

nmathewson avatar qidasheng avatar rransom8774 avatar mistotebe avatar ln5 avatar rosslagerwall avatar shahn avatar droe avatar kenlittle avatar petdr avatar sinic avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.