Skip to content

vikage/logstash_logger_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogstashLoggerBackend

LogstashLoggerBackend is elixir log backend that collect and send log to LogStash

Installation

If available in Hex, the package can be installed by adding logstash_logger_backend to your list of dependencies in mix.exs:

def deps do
  [
    {:logstash_logger_backend, "~> 0.1.0"}
  ]
end

Configuration Examples

config :logger,
  backends: [
    {LogstashLoggerBackend, :logstash_info},
  ]

config :logger, :logstash_info,
  level: :info,
  url: "http://some.host.com",
  username: "logstash",
  password: "logstashpassword",
  batch_size: 500,
  more_info: %{app: "DemoApp"}

About

Collect and send log to Logstash over HTTP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages