Skip to content

Commit

Permalink
Register the azure-eventhub input on Windows (#40609)
Browse files Browse the repository at this point in the history
Registers the `azure-eventhub` input on the Windows platform.

During the recent [upgrade](#39511)
of the input from the Filebeat input API v1 to input API v2, I missed
registering the input for the Windows platform in the
`x-pack/filebeat/input/default-inputs/inputs_windows.go` file.

(cherry picked from commit cc561ff)
  • Loading branch information
zmoog authored and mergify[bot] committed Aug 26, 2024
1 parent c901a24 commit 865799d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
- Fix order of configuration for EntraID entity analytics provider. {pull}40487[40487]
- Ensure Entra ID request bodies are not truncated and trace logs are rotated before 100MB. {pull}40494[40494]
- The Elasticsearch output now correctly logs the event fields to the event log file {issue}40509[40509] {pull}40512[40512]
- Fix the "No such input type exist: 'azure-eventhub'" error on the Windows platform {issue}40608[40608] {pull}40609[40609]

*Heartbeat*

Expand Down
2 changes: 2 additions & 0 deletions x-pack/filebeat/input/default-inputs/inputs_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/elastic/beats/v7/x-pack/filebeat/input/awscloudwatch"
"github.com/elastic/beats/v7/x-pack/filebeat/input/awss3"
"github.com/elastic/beats/v7/x-pack/filebeat/input/azureblobstorage"
"github.com/elastic/beats/v7/x-pack/filebeat/input/azureeventhub"
"github.com/elastic/beats/v7/x-pack/filebeat/input/cel"
"github.com/elastic/beats/v7/x-pack/filebeat/input/cloudfoundry"
"github.com/elastic/beats/v7/x-pack/filebeat/input/entityanalytics"
Expand All @@ -29,6 +30,7 @@ import (
func xpackInputs(info beat.Info, log *logp.Logger, store beater.StateStore) []v2.Plugin {
return []v2.Plugin{
azureblobstorage.Plugin(log, store),
azureeventhub.Plugin(log),
cel.Plugin(log, store),
cloudfoundry.Plugin(),
entityanalytics.Plugin(log),
Expand Down

0 comments on commit 865799d

Please sign in to comment.