CanonicalLtd/beaver-charm

Name: beaver-charm

Owner: Canonical Ltd

Description: null

Created: 2015-04-13 13:34:32.0

Updated: 2015-04-24 13:49:26.0

Pushed: 2015-04-24 13:49:26.0

Homepage: null

Size: 243

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.