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.
Click to show internal directories.
Click to hide internal directories.