981 sao GitHub và vẫn tăng — heroku/logplex là dự án Erlang mà TopGit đang theo dõi trên nền tảng. [DEPRECATED] Heroku log router
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This project is officially retired and no longer maintained.
Logplex is a distributed syslog log router, able to merge and redistribute multiple incoming streams of syslog logs to individual subscribers.
A typical logplex installation will be a cluster of distributed Erlang nodes connected in a mesh, with one or more redis instances (which can be sharded). The cluster may or may not be sitting behind a load-balancer or proxy, but any of them may be contacted at any time for ideal scenarios.
Applications sitting on their own node or server need to send their log messages either to a local syslog, or through log shuttle, which will then forward them to one instance of a logplex router.
On the other end of the spectrum, consumers may subscribe to a logplex instance, which will then merge streams of incoming log messages and forward them to the subscriber. Alternatively, the consumer may register a given endpoint (say, a database behind the proper API) and logplex nodes will be able to push messages to that end-point as they come in.
For more details, you can look at stream management documentation in doc/.
Table of Contents
Logplex
Erlang Version Requirements
Development
Local development
build
develop
test
Docker development
develop
test
Data setup
Supervision Tree
Processes
-
config_redis
logplex_drain_sup
nsync
redgrid
logplex_realtime
logplex_stats
logplex_tail
logplex_redis_writer_sup
logplex_shard
logplex_api
logplex_syslog_sup
logplex_logs_rest
Realtime Metrics
Erlang Version Requirements
As of Logplex v93, Logplex requires Erlang 18. Logplex is currently tested againts OTP-18.1.3.
Prior versions of Logplex are designed to run on R16B03 and 17.x.
Requires a working install of Docker and Docker Compose.
Follow the installations
steps outlined docs.docker.com.
docker-compose build # Run once
docker-compose run compile # Run everytime source files change
docker-compose up logplex # Run logplex post-compilation
Owns the logplex_stats ETS table. Prints channel, drain and system stats every 60 seconds.
logplex_tail
Maintains the logplex_tail ETS table that is used to register tail sessions.
logplex_redis_writer_sup
Starts a logplex_worker_sup process, registered as logplex_redis_writer_sup, that supervises logplex_redis_writer processes.
logplex_shard
Owns the logplex_shard_info ETS table. Starts a separate read and write redo client for each redis shard found in the logplex_shard_urls var.
logplex_api
Blocks waiting for nsync to finish replicating data into memory before starting a mochiweb acceptor that handles API requests for managing channels/tokens/drains/sessions.
logplex_syslog_sup
Supervises a tcp_proxy_sup process that supervises a tcp_proxy process that accepts syslog messages over TCP.
logplex_logs_rest
Starts a cowboy_tcp_transport process and serves as the callback for processing HTTP log input.
Realtime Metrics
Logplex can send realtime metrics to Redis via pubsub and to a drain channel as
logs. The following metrics are currently logged in this fashion:
To log these metrics to an internal drain channel, you'll need to set the
INTERNAL_METRICS_CHANNEL_ID environment variable to a drain token that has
already been created.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/heroku/logplex là nguồn chính thức.
heroku/logplex có bao nhiêu sao?
heroku/logplex có 981 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/heroku/logplex. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
heroku/logplex có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho heroku/logplex. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
heroku/logplex còn đang phát triển không?
Commit gần nhất trên heroku/logplex là 4.5 năm trước (theo timestamp GitHub). Repo có 94 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
heroku/logplex là gì?
heroku/logplex (heroku/logplex) là dự án Erlang trên GitHub. Theo mô tả gốc: [DEPRECATED] Heroku log router
Đọc đầy đủ README ở tab phía trên.
logplex có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về logplex.