-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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: missing modules #168067
Comments
@happysalada I'm still investigating this one |
Took me a while but I finally understood what was happening here: The original project uses a Makefile to build all the beats, with it you must first run I'll try opening a PR fixing this at least implementing the mage calls (their Makefile is very impure), otherwise, I think adding this to filebeat7 can do the job too: {
postInstall = ''
find filebeat/module -name "*.yml" -printf "%P\n" |\
xargs -I '?' -- install -DT "filebeat/module/?" "$out/bin/module/?"
'';
} |
Just want to say I didn't close this. If you put fix issue_number in the body of a PR, it will automatically close the related issue when the PR is merged. Just to let you know for next time. |
@bbenno, did you ever get this working? I'm running into the same issue.
Configuration.nix
|
Describe the bug
Enabling the nginx module in the filebeat service results in the service crashing because it cannot find and load the module.
Steps To Reproduce
Steps to reproduce the behavior:
nixos-rebuild
systemctl status filebeat
→ Failed to start Filebeat log shipper.Expected behavior
The
filebeat.service
starts and runs without issues.Additional context
filebeat expects modules files within the non-existent
/nix/store/...-filebeat-7.16.1/bin/module
folder.The
/nix/store/...-filebeat-7.16.1/bin
only contains thefilebeat
executable.Notify maintainers
@fadenb @basvandijk
Metadata
The text was updated successfully, but these errors were encountered: