Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[filebeat] Azure Module Docs Incorrect Config Settings #20808

Closed
SpencerLN opened this issue Aug 26, 2020 · 2 comments · Fixed by #20815
Closed

[filebeat] Azure Module Docs Incorrect Config Settings #20808

SpencerLN opened this issue Aug 26, 2020 · 2 comments · Fixed by #20815
Assignees
Labels
docs Filebeat Filebeat Team:Platforms Label for the Integrations - Platforms team

Comments

@SpencerLN
Copy link
Contributor

The sample configuration included in the Azure Filebeat module docs results in an error on startup:
2020-08-26T14:02:25.371-0500 ERROR instance/beat.go:951 Exiting: Failed to start crawler: starting input failed: Error while initializing input: can not convert 'object' into 'string' accessing 'eventhub' reading azure-eventhub input config.

This is due to the eventhub setting for the signinlogs being set to an array of strings. The value should just be the Event Hub name as a string.

For confirmed bugs, please report:

  • Version: 7.9.0
  • Operating System: N/A
  • Steps to Reproduce:
    • Start a Filebeat instance configured with the snippet from the Azure module docs
    • Receive an error since the config is wrong.
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 26, 2020
@jsoriano jsoriano added the Team:Platforms Label for the Integrations - Platforms team label Aug 26, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 26, 2020
@narph narph self-assigned this Aug 27, 2020
@narph
Copy link
Contributor

narph commented Aug 27, 2020

hi @SpencerLN ,
The azure module was previously using the kafka input to retrieve the azure logs. The eventhub property could support multiple eventhub names. Switching to the azure-eventhub input, this functionality is not supported (hopefully this will be the case in the future).
This detail was missed in the docs.
I have opened #20815 to fix the docs, thanks for bringing this to our attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Filebeat Filebeat Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
4 participants