windows_event_log

package
v1.247345.34 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventConfig

type EventConfig struct {
	Name          string   `toml:"event_name"`
	Levels        []string `toml:"event_levels"`
	RenderFormat  string   `toml:"event_format"`
	BatchReadSize int      `toml:"batch_read_size"`
	LogGroupName  string   `toml:"log_group_name"`
	LogStreamName string   `toml:"log_stream_name"`
	Destination   string   `toml:"destination"`
}

type Plugin

type Plugin struct {
	FileStateFolder string        `toml:"file_state_folder"`
	Events          []EventConfig `toml:"event_config"`
	Destination     string        `toml:"destination"`
	// contains filtered or unexported fields
}

func (*Plugin) Description

func (s *Plugin) Description() string

func (*Plugin) FindLogSrc

func (s *Plugin) FindLogSrc() []logs.LogSrc

func (*Plugin) Gather

func (s *Plugin) Gather(acc telegraf.Accumulator) (err error)

func (*Plugin) SampleConfig

func (s *Plugin) SampleConfig() string

func (*Plugin) Start

func (s *Plugin) Start(acc telegraf.Accumulator) error

*

  • We can do any initialization in this method.

func (*Plugin) Stop

func (s *Plugin) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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