varnishlogbeat

command module
v0.0.0-...-20e645f Latest Latest
Warning

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

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

README

Varnishlogbeat

Welcome to Varnishlogbeat. Based on the original varnishlogbeat by phenomenes but updated for elastic 7.5.0. Reads log data from a Varnish Shared Memory file and ships it to ELK.

Getting Started with Varnishlogbeat

Requirements
  • Golang 1.13.5
  • varnish-dev 5.2+
Acquiring

Run go get github.com/bsundsrud/varnishlogbeat to put the source in your $GOPATH. Change to the directory with cd $GOPATH/src/github.com/bsundsrud/varnishlogbeat.

Build

To build the binary for Varnishlogbeat run the command below. This will generate a binary in the same directory with the name varnishlogbeat.

make
Run

To run Varnishlogbeat with debugging output enabled, run:

./varnishlogbeat -c varnishlogbeat.yml -e -d "*"
Update

Each beat has a template for the mapping in elasticsearch and a documentation for the fields which is automatically generated based on fields.yml by running the following command.

make update
Cleanup

To clean Varnishlogbeat source code, run the following command:

make fmt

To clean up the build directory and generated artifacts, run:

make clean

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