Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

canonical/beaver-charm

Repository files navigation

Overview

Beaver provides an lightweight method for shipping local log files to Logstash. It does this using redis, zeromq, tcp, udp, rabbit or stdout as the transport. This means you’ll need a redis, zeromq, tcp, udp, amqp or stdin input somewhere down the road to get the events.

Events are sent in logstash’s json_event format. Options can also be set as environment variables.

Usage

For this charm it uses tcp as a transport and is a subordinate charm. Here is an example of how to send apache2 log via beaver to logstash::

juju deploy cs:~evarlast/trusty/apache2
juju deploy local:trusty/beaver
juju deploy cs:~evarlast/trusty/logstash
juju add-relation apache2 beaver
juju add-relation logstash beaver
juju set apache2 vhost_http_template=$(shell base64 -w0<tests/apache2.template)

This charm for the moment is based on a zero configuration principle. Everything is configure through juju relation and the fact it is a subordinate charm.

Contact Information

Fabrice Matrat fabrice.matrat@canonical.com

Beaver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published