config

package
v0.0.0-...-99b9a3e Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package config provides the winlogbeat specific configuration options.

Index

Constants

View Source
const (
	// DefaultRegistryFile specifies the default filename of the registry file.
	DefaultRegistryFile = ".winlogbeat.yml"
)

Variables

View Source
var (
	DefaultSettings = WinlogbeatConfig{
		RegistryFile: DefaultRegistryFile,
	}
)

Functions

This section is empty.

Types

type WinlogbeatConfig

type WinlogbeatConfig struct {
	EventLogs    []*common.Config `config:"event_logs"`
	RegistryFile string           `config:"registry_file"`
}

WinlogbeatConfig contains all of Winlogbeat configuration data.

func (WinlogbeatConfig) Validate

func (ebc WinlogbeatConfig) Validate() error

Validate validates the WinlogbeatConfig data and returns an error describing all problems or nil if there are none.

Jump to

Keyboard shortcuts

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