SkillAgentSearch skills...

Varnishlogbeat

Elastic Beat for Varnish Log

Install / Use

/learn @varnishcache-friends/Varnishlogbeat
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

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:

Related Skills

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated2mo ago
Forks3

Languages

Go

Security Score

80/100

Audited on Jan 1, 2026

No findings