Skip to content

[beatreceiver] replace global paths in winlogbeat #46994

@leehinman

Description

@leehinman

winlogbeat uses paths.Resolve when it creates a new instance:

config.RegistryFile = paths.Resolve(paths.Data, config.RegistryFile)

This should be modified to use:

Paths *paths.Path // per beat paths definition

For beatreceivers we aren't using winlogbeat, we are using the winlog input in filebeat, so this is not critical to fix, but we should fix for correctness.

Relates #44903

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions