diag-ecs

module
v0.0.0-...-ab08584 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0

README

diag-ecs

Elastic common schema (ECS) field definitions for use with the go diagnatic context library github.com/urso/diag.

The definitions are automatically generated via mage.

Print list of environment variables the mage script supports:

$ mage info:vars
BUILD_DIR=build  : set build directory to load temporary files into
REPOSITORY=https://github.com/elastic/ecs.git  : URL used to clone the ECS repository
USE_REF=v1.4.0  : set tag or branch name to checkout
VERSION=1.4.0  : set ecs version tag to check out

Generate ecs/ecs.go:

$ mage clean
$ mage build

Update constants in magefile.go to permanently update the ECS version.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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