windowsevent

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	Locale               int                 `alloy:"locale,attr,optional"`
	EventLogName         string              `alloy:"eventlog_name,attr,optional"`
	XPathQuery           string              `alloy:"xpath_query,attr,optional"`
	BookmarkPath         string              `alloy:"bookmark_path,attr,optional"`
	PollInterval         time.Duration       `alloy:"poll_interval,attr,optional"`
	ExcludeEventData     bool                `alloy:"exclude_event_data,attr,optional"`
	ExcludeUserdata      bool                `alloy:"exclude_user_data,attr,optional"`
	ExcludeEventMessage  bool                `alloy:"exclude_event_message,attr,optional"`
	UseIncomingTimestamp bool                `alloy:"use_incoming_timestamp,attr,optional"`
	ForwardTo            []loki.LogsReceiver `alloy:"forward_to,attr"`
	Labels               map[string]string   `alloy:"labels,attr,optional"`
	LegacyBookmarkPath   string              `alloy:"legacy_bookmark_path,attr,optional"`
}

Arguments holds values which are used to configure the loki.source.windowsevent component.

func (*Arguments) SetToDefault

func (r *Arguments) SetToDefault()

SetToDefault implements syntax.Defaulter.

type FakeComponent

type FakeComponent struct {
}

FakeComponent implements the loki.source.windowsevent component for non-windows environments.

func (*FakeComponent) Run

func (f *FakeComponent) Run(ctx context.Context) error

func (*FakeComponent) Update

func (f *FakeComponent) Update(_ component.Arguments) error

Jump to

Keyboard shortcuts

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