GithubHelp home page GithubHelp logo

datkk06 / elk-redis-su-dung-rsyslog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huytm/elk-redis-su-dung-rsyslog

0.0 2.0 0.0 120 KB

Triển khai log tập trung với ELS + REDIS, các client vẫn sử dụng rsyslog thuần túy để foward log

Shell 100.00%

elk-redis-su-dung-rsyslog's Introduction

ELK-REDIS-su-dung-rsyslog

Triển khai log tập trung với ELS + REDIS, các client vẫn sử dụng rsyslog thuần túy để foward log

Sử dụng srcript cài đặt trên các node triển khai log tập trung sử dụng ELK + REDIS, các máy Client sử dụng syslog làm "shipper" Tất cả các node đều sử dụng OS Ubuntu-14.04.1


####MÔ HÌNH CÀI ĐẶT


####Data Flow

Gọi

  • Logstash của REDIS-SERVER là LS1
  • Logstash của ELK-SERVER là LS2

Luồng dữ liệu như sau:

  1. Các Client sẽ sử dụng rsyslog để đẩy log đến LS1
  2. LS1 tiếp tục đẩy log đến REDIS có vai trò là broker
  3. REDIS sau đó tiếp tục đẩy log đến LS2
  4. LS2 đẩy log đến ELASTICHSEARCH

####CÁC BƯỚC CÀI ĐẶT

  1. Chạy script redis-server.sh trên REDIS-SERVER
  2. Chạy scrtip elk-server.sh trên ELK-SERVER
  3. Chạy script client.sh trên các máy client

Tham khảo

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.