logyard

package module
v3.6.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

README

Logyard: The Why and How of Stackato's Logging System

getting started

get a Stackato VM running and then:

# install golang
wget http://stackato-pkg.nas1.activestate.com/repo-common/stackato-golang_1.2_amd64.deb
sudo dpkg -i stackato-golang*deb
export PATH=/usr/local/go/bin:$PATH

# prepare your gopath
export GOPATH=/s/go
rm -rf /s/go/src 

git clone <this-repo> $GOPATH/src/logyard
cd $GOPATH/src/logyard

# install dependencies
wget http://stackato-pkg.nas1.activestate.com/repo-common/zeromq-dev_3.2.2_amd64.deb
sudo dpkg -i zeromq-dev*deb # see also: .stackato-pkg/config
go get -v github.com/vube/depman
depman

# build logyard binary
make i

make dev-test  # optional

run

make i
# restart all of selected services
sup restart logyard logyard_remote

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AddDrain

func AddDrain(name, uri string) error

AddDrain adds a drain to the config.

func DeleteDrain

func DeleteDrain(name string) error

DeleteDrain deletes the drain from config.

func GetConfig

func GetConfig() *logyardConfig

GetConfig returns the latest logyard configuration.

func GetConfigChanges

func GetConfigChanges() chan error

Types

This section is empty.

Directories

Path Synopsis
cli
cmd
util
lineserver
lineserver emulates a line-based UDP server
lineserver emulates a line-based UDP server
statecache
statecache provides a simple way to cache the current status in redis.
statecache provides a simple way to cache the current status in redis.
subcommand
A simple sub command parser based on the flag package.
A simple sub command parser based on the flag package.
subcommand_server
subcommand_server exposes subcommands defined in the 'subcommand' package as a HTTP server.
subcommand_server exposes subcommands defined in the 'subcommand' package as a HTTP server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL