Popularity
6.7
Declining
Activity
0.0
Stable
72
2
41
Monthly Downloads: 1,828
Programming language: Elixir
License: Apache License 2.0
Tags:
Logging
logger_logstash_backend alternatives and similar packages
Based on the "Logging" category.
Alternatively, view logger_logstash_backend alternatives based on common mentions on social networks and blogs.
-
timber
Structured logging platform; turns raw text logs into rich structured events. -
rollbax
Exception tracking and logging from Elixir to Rollbar -
logster
Easily parsable single line, plain text and JSON logger for Plug and Phoenix applications -
syslog
Erlang port driver for interacting with syslog via syslog(3) -
ecto_dev_logger
An alternative logger for Ecto queries -
bunyan
The all-plugins-included package of the Bunyan distributed and pluggable logging system. -
metrix
Elixir library to log custom application metrics, in a well-structured, human and machine readable format, for use by downstream log processing systems (Librato, Reimann, etc...) -
LogViewer
An Web based Log Viewer for Elixir and Phoenix -
lager_logger
A lager backend that forwards all log messages to Elixir's Logger -
slack_logger_backend
An Elixir logger backend for posting errors to Slack. -
mstore
MStore is a experimental metric store build in erlang, the primary functions are open, new, get and put. -
youtrack_logger_backend
Adding youtrack as a logger backend to your elixir application. -
quiet_logger
A simple plug to suppress health check logging (e.g.: when using Kubernetes).
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of logger_logstash_backend or a related project?
README
LoggerLogstashBackend
About
A backend for the Elixir Logger that will send logs to the Logstash UDP input.
Supported options
- host: String.t. The hostname or ip address where to send the logs.
- port: Integer. The port number. Logstash should be listening with its UDP inputter.
- metadata: Keyword.t. Extra fields to be added when sending the logs. These will be merged with the metadata sent in every log message.
- level: Atom. Minimum level for this backend.
- type: String.t. Type of logs. Useful to filter in logstash.
Sample Logstash config
input {
udp {
codec => json
port => 10001
queue_size => 10000
workers => 10
type => default_log_type
}
}
output {
stdout {}
elasticsearch {
protocol => http
}
}
Using it with Mix
To use it in your Mix projects, first add it as a dependency:
def deps do
[{:logger_logstash_backend, "~> 3.0.0"}]
end
Then run mix deps.get to install it.
Add logger and tzdata as applications:
def application do
[applications: [:logger, :timex]]
end
Configuration Examples
Runtime
Logger.add_backend {LoggerLogstashBackend, :debug}
Logger.configure {LoggerLogstashBackend, :debug},
host: "127.0.0.1",
port: 10001,
level: :debug,
metadata: ...
Application config
config :logger,
backends: [{LoggerLogstashBackend, :error_log}, :console]
config :logger, :error_log,
host: "some.host.com",
port: 10001,
level: :error,
type: "my_type_of_app_or_node",
metadata: [
extra_fields: "go here"
]