-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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?
yaron-idan
Metadata
Metadata
Assignees
Labels
No labels