Giter Club home page Giter Club logo

biglog's Introduction

BigLog

INTRODUCTION

BigLog is an open source nginx access log analyzer provides fast and valuable HTTP statistics for system administrators .

DEMAND

nginx access log format log_format access '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for" ' '"$upstream_cache_status"' &@&$host;

INSTALL

./INSTALL.sh

RUN

./biglog.sh

版本更新说明

日志接收: udp 515 端口

BigLog3增加了gearman模块,通过gearman模块来查询IP对应的地理位置

biglog_recv.py 监听udp 515端口的日志,对单条日志分析并且存储json到redis

biglog_timer.py 从redis里面拿出json格式的日志,一段时间(30S)做一次统计分析并导入到redis

BigLogTimer.py 单条日志信息(字典)接收,可以指定统计的时间

BigLogDomain.py Mysql域名数据库创建(一个域名一个库,包含统计信息)

BigLogMysql.py 一段时间日志统计信息导入数据库

BigLogGeo.py ip对应地理位置查询

BigLogGeo.py ip对应地理位置查询

biglog's People

Contributors

firefoxbug avatar

Watchers

 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.