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 pod-uid support for add_kubernetes_metadata #7072

Commits on May 15, 2018

  1. Added PodUidIndexer to add_kubernetes_metadata processor, containing …

    …the Pod.UID as the key and inside the metadata. Extended Filebeat's LogPathMatcher with an additional configuration parameter (resource_type) which, when set to 'pod', uses a different logic to extract the MetadataIndex from the source field. Updated unit-tests accordingly.
    mariomechoulam committed May 15, 2018
    Configuration menu
    Copy the full SHA
    ee48a35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8e5051 View commit details
    Browse the repository at this point in the history
  3. Refactored pod.uid metadata gathering. Now it can be triggered by the…

    … PodUIDIndexer being specified or by the "include_pod_uid" options in the configuration file. The result is used as a parameter for the metaGenerator which, in turn, adds the pod.uid to the existing metadata structure. Added and updated unit-tests accordingly.
    mariomechoulam committed May 15, 2018
    Configuration menu
    Copy the full SHA
    40ea408 View commit details
    Browse the repository at this point in the history
  4. Fixed autodiscover MetaGenerator to be compatible with the config "in…

    …clude_pod_uid". Formatted code.
    mariomechoulam committed May 15, 2018
    Configuration menu
    Copy the full SHA
    f82b087 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1a0e10e View commit details
    Browse the repository at this point in the history

Commits on May 16, 2018

  1. Configuration menu
    Copy the full SHA
    c4a19f5 View commit details
    Browse the repository at this point in the history