Varnishlogbeat
Elastic Beat for Varnish Log
Install / Use
/learn @varnishcache-friends/VarnishlogbeatREADME
Varnishlogbeat
Varnishlogbeat is an Elastic beat that reads log data from a Varnish Shared Memory file and ships it to Elasticsearch.
Varnishlogbeat uses vago.
If you are looking to run older versions of Varnish check the corresponding branch.
Requirements
- Go >= 1.14
- pkg-config
- varnish-dev >= 6.x
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/varnishlogbeat
Run
Install and run Elasticsearch.
Run varnishlogbeat with debugging output enabled:
cd $GOPATH/src/github.com/phenomenes/varnishlogbeat
varnishlogbeat -c varnishlogbeat.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:
- Kibana
- Varnishlogbeat / Varnish
- Nginx
- Elasticsearch
Related Skills
node-connect
337.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.3kCommit, push, and open a PR
