heroku/logplex — 981★ on GitHub (Erlang). [DEPRECATED] Heroku log router
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
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.
The most recent commit recorded on heroku/logplex was 4.5 years ago, based on the GitHub push timestamp. The repository has 94 forks — one of the better signals of community interest.
How many stars does heroku/logplex have?
heroku/logplex has 981 GitHub stars — refresh the page for the live number, or check github.com/heroku/logplex. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is heroku/logplex open source?
TopGit's metadata for heroku/logplex does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is heroku/logplex?
heroku/logplex (heroku/logplex) is a Erlang project on GitHub. From the project's own README: [DEPRECATED] Heroku log router
Where do I read more about heroku/logplex?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/heroku/logplex is the definitive source.
Read full README in the tab above.
Want a second opinion on logplex?
Ask an AI that can read this page — one click and you get its take on logplex.