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 X-Pack Module Packaging #8615

Merged
merged 11 commits into from
Oct 17, 2018

Commits on Oct 16, 2018

  1. Filebeat X-Pack Module Packaging

    This PR adds an intermediate solution for packaging X-Pack modules with Filebeat. In this PR the dashboards, configuration files, and fields are generated in x-pack/filebeat. Packaging is still done entirely from the OSS filebeat directory by making the build run `mage update` in x-pack/filebeat then customizing the packaging configuration to point to different dashboards, config, and fields.yml for the Elastic licensed packages.
    
    Long term we will build, test, and package the OSS and Elastic licensed Beats from their respective directories, but this gives us a smaller step in order to be able to release the X-Pack content before the build system is fully transitioned.
    andrewkroh authored and adriansr committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    f7ba3fa View commit details
    Browse the repository at this point in the history
  2. Compile different fields.yml assets for x-pack binaries

    X-pack and OSS binaries need a different include/assets.go to account
    for fields on non-oss modules.
    adriansr committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    389c71c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    338838e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a09a8ae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c52af4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    de85bac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    af07dce View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    562ed8d View commit details
    Browse the repository at this point in the history
  9. Remove reference to x-pack suricata package

    x-pack/filebeat/include/list.go imported suricata module to have it
    register its fields, but this is unnecessary in filebeat as it uses one
    big fields.go with all modules fields.
    adriansr committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    04a35e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2018

  1. Fix darwin tgz packaging for x-pack

    It was not properly replacing the beat binary with the x-pack version.
    adriansr committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    620b377 View commit details
    Browse the repository at this point in the history
  2. Revert fields.yml generation changes

    Problems with x-pack fields missing were caused by a mistake in the
    packaging templates that caused the oss binary to be used for
    darwin/tar.gz package.
    
    In order to fix this issue a few unnecessary changes to the fields.yml
    generation were carried out.
    adriansr committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    27cafb6 View commit details
    Browse the repository at this point in the history