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

Add possibility to update the Filebeat module #589

Open
wants to merge 2 commits into
base: 4.3
Choose a base branch
from

Conversation

poloz-lab
Copy link
Contributor

Closes #587

This PR uses the following strategy :

  1. the archive is unpacked in a directory named with the version (wazuh-filebeat-0.2.tar.gz)(I chose /opt/filebeat_wazuh_modules/wazuh-filebeat-0.2.tar.gz) ;
  2. a link /usr/share/filebeat/module/wazuh points to the directory in step 1 ;
  3. when we define a new version for $wazuh_filebeat_module, the archive resource detect that the directory in the creates parameter isn't good ;
  4. the new module is unpacked, the link is changed, filebeat is restarted.

@poloz-lab poloz-lab force-pushed the feature-587-update-filebeat-module branch from 4b2649d to 03b09fd Compare December 21, 2022 14:00
@poloz-lab poloz-lab force-pushed the feature-587-update-filebeat-module branch from 03b09fd to d7c2fbc Compare February 10, 2023 08:16
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.

None yet

1 participant