Skip to content

[8.0](backport #28818) Filebeat: Error on startup for unconfigured module#28825

Merged
adriansr merged 1 commit into8.0from
mergify/bp/8.0/pr-28818
Nov 6, 2021
Merged

[8.0](backport #28818) Filebeat: Error on startup for unconfigured module#28825
adriansr merged 1 commit into8.0from
mergify/bp/8.0/pr-28818

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Nov 4, 2021

This is an automatic backport of pull request #28818 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

Since #27526 and #27762, Filebeat will have all filesets disabled by
default. To prevent user confusion, a warning message to alert the user
of a configured module without any enabled filesets was added. However,
due to Filebeat internals, this message will only appear for modules
configured from the command-line (--modules flag).

This updates the code to ensure it works also for modules configured via
modules.d directory and turns the warning into a hard-error that
prevents startup.

(cherry picked from commit 707ed1d)
@mergify mergify bot added the backport label Nov 4, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Nov 4, 2021
@botelastic
Copy link
Copy Markdown

botelastic bot commented Nov 4, 2021

This pull request doesn't have a Team:<team> label.

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Nov 4, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-11-05T06:15:42.687+0000

  • Duration: 47 min 21 sec

  • Commit: 871c805

Test stats 🧪

Test Results
Failed 0
Passed 785
Skipped 150
Total 935

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

@adriansr
Copy link
Copy Markdown
Contributor

adriansr commented Nov 5, 2021

/test

@adriansr adriansr merged commit 1d2eee9 into 8.0 Nov 6, 2021
@adriansr adriansr deleted the mergify/bp/8.0/pr-28818 branch November 6, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants