Varnishstatbeat is an Elastic beat that collects Stats data from a Varnish Shared Memory file and ships it to Elasticsearch.
Varnishstatbeat uses vago.
For 4.1 refer to branch
You will also need to set
PKG_CONFIG_PATH to the directory where
varnishapi.pc is located before running
go get. For example:
go get github.com/phenomenes/varnishstatbeat cd $GOPATH/src/github.com/phenomenes/varnishstatbeat go build .
Install and run Elasticsearch.
varnishstatbeat with debugging output enabled:
./varnishstatbeat -c varnishstatbeat.yml -e -d "*"
Additionally you can install Kibana to visualize the data.
Run on Docker
docker-compose up --build
The above command will create the following containers: