wineventlog

package
v0.0.0-...-7769814 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT, MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func FileStateToWinLogState

func FileStateToWinLogState(st file.State) checkpoint.EventLogState

FileStateToWinLogState file state to windows log state

func NewInput

func NewInput(
	cfg *common.Config,
	outletFactory channel.Connector,
	context input.Context,
) (input.Input, error)

NewInput creates a new windows event input

func ToEvent

func ToEvent(e eventlog.Record) beat.Event

ToEvent ToMapStr returns a new MapStr containing the data from this Record.

func WinLogStateToFileState

func WinLogStateToFileState(cs checkpoint.EventLogState) file.State

WinLogStateToFileState windows log state to file state

Types

type Input

type Input struct {
	// contains filtered or unexported fields
}

Input defines a udp input to receive event on a specific host:port.

func (*Input) Reload

func (p *Input) Reload()

Reload runs the input

func (*Input) Run

func (p *Input) Run()

Run start a windows event log input

func (*Input) Stop

func (p *Input) Stop()

Stop stops windows event log

func (*Input) Wait

func (p *Input) Wait()

Wait stop the current server

Jump to

Keyboard shortcuts

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