varnishstatbeat

command module
v0.0.0-...-04268f0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

Varnishstatbeat

Varnishstatbeat is an Elastic beat that collects Stats data from a Varnish Shared Memory file and ships it to Elasticsearch.

Varnishstatbeat uses vago.

If you are looking to run older version of Varnish check for the corresponding branch.

Requirements

You will also need to set PKG_CONFIG_PATH to the directory where varnishapi.pc is located before running go get. For example:

export PKG_CONFIG_PATH=/usr/lib/pkgconfig
Build
go get github.com/phenomenes/varnishstatbeat
Run

Install and run Elasticsearch.

Run varnishstatbeat with debugging output enabled:

cd $GOPATH/src/github.com/phenomenes/varnishstatbeat
varnishstatbeat -c varnishstatbeat.yml -e -d "*"

Additionally you can install Kibana to visualize the data.

Run in Docker
docker-compose up --build

The above command will start the following containers:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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