vaultbeat

command module
v0.0.0-...-2fcf6ab Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

pipeline status coverage report

vaultbeat

vaultbeat is a beat based on metricbeat, which collects performance metrics and statistics from Hashicorp's Vault.

Getting started

Gathering metrics from vault is as easy as running one command:

./vaultbeat -e -c vaultbeat.yml

For all available configuration options, see the example vaultbeat.yml file.

Running vaultbeat in Docker

An official docker container is provided on dockerhub. You can run the container by mounting a custom configuration like this:

docker run -d --rm --net=host --name vaultbeat -v /root/vaultbeat.yml:/root/vaultbeat.yml  msvechla/vaultbeat -e -d "*"
Get the latest release

In addition to the Docker Image, there are automated builds for all major platforms. You can find all releases in the tags section. Simply click on downloads and select "artifacts" to get the desired version. Alternatively feel free to build the latest release from master yourself.

Available Metricsets

Vaultbeat currently supports two metricsets: statsd and sys_health.

Statsd MetricSet

The statsd metricset utilizes vaults telemetry endpoint to gather performance data.

The following configuration options are available:

Configuratio Option Description
statsd_address Specifies the address of the statsd endpoint specified in vault.
vault_hostname Hostname of the vault instance, used for formatting statsd events correctly.
Sys_health MetricSet

The sys_health metricset connects to vaults /sys/health API, to check vaults health status and exports them in an easy to visualize format.

General Configuration Options

See the official vault environment variables for all available configuration options. Simply specify them in the vaultbeat.yml as usual. Be sure to write them in all lowercase, e.g. vault_cacert. For examples see here.

Bundled Kibana Dashboard

vaultbeat dashboard

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package include imports all Module and MetricSet packages so that they register their factories with the global registry.
Package include imports all Module and MetricSet packages so that they register their factories with the global registry.
module
vault
Package vault is a Metricbeat module that contains MetricSets.
Package vault is a Metricbeat module that contains MetricSets.

Jump to

Keyboard shortcuts

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