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

Implement filebeat modules #343

Merged
merged 14 commits into from
Feb 18, 2024

Conversation

TuningYourCode
Copy link
Contributor

Hi,

this PR implements the possibility to manage some of the filebeat modules to be configured with this puppet module. The module currently only supports modules by giving the whole array to filebeat::modules. It also requires people to know the exact structure that it works.

The new filebeat::module::* classes will abstract the structure and also perform correct datatype for each parameter. Beside this it also enables to setup modules based on the really installed services on a host if you define the filebeat::module::* in your profile / role files.

e.g. we now can do in our profile::redis take care of the redis configuration and also include filebeat::module::redis without having to somehow pass it to the filebeat::modules: array.

So far i only implemented modules used by us but implementation of the other filebeat modules would be possible and also custom modules will be possible if the module files (pipeline, dashboard etc.) are copied to the correct directory.

Best regards,
Stephan

@TuningYourCode
Copy link
Contributor Author

Build failure is related to gem retrieval - most likely affects all builds currently. I guess module needs to update for latest pdk version.

@pcfens pcfens merged commit 236715b into pcfens:master Feb 18, 2024
0 of 2 checks passed
@TuningYourCode TuningYourCode deleted the implement-filebeat-modules branch February 19, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants