Skip to content

Use Kubernetes metadata #3

@omerlh

Description

@omerlh

Fluentd has plugin that extract metadata from Kubernetes (pod name, labels, etc) and enrich the record with this metadata. This can be useful for this plugin for multiple features:

  • Dynamic API key. Currently, there is need to define a match for each different pod, so it will use a different API key. Using the metadata, the API key can be read from Kubernetes label.
  • Log enrichment: Add all the metadata as userCustomData.
  • Exception: Use labels to find the exception field on the logs and read it.
  • Version: Use labels to read the version of the app

What do you think? Is this should be part of the plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions