Skip to content

[filebeat] Add *paths.Path to PluginFactory signature #46245

@leehinman

Description

@leehinman

To help complete #44903 the filebeat PluginFactory signature needs to be updated to have a *paths.Path as an argument.

type PluginFactory func(beat.Info, *logp.Logger, statestore.States) []v2.Plugin

The following inputs make use of the global paths.Path and will need to be updated to use the one passed in via the PluginFactory. Also the call to PluginFactory will need to be updated.

  • x-pack/filebeat/input/awss3/script.go
  • x-pack/filebeat/input/entityanalytics/internal/kvstore/input.go
  • x-pack/filebeat/input/entityanalytics/internal/kvstore/input_test.go

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions