Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
k8sprocessor: Rename default attr names for label/annotation extracti…
…on (#1214) If no key_name is specified in the FieldExtractConfig, the following attributes keys are generated by default: - k8s.label.<label_name> - k8s.annotation.<annotation_name> It is not aligned with the existing conventions and not specific enough. Since the fields are extracted from pods only, we should change it to the following attribute names: - k8s.pod.labels.<label_name> - k8s.pod.annotations.<annotation_name> It'll also allow us to extract any labels/annotations from other k8s objects and won't cause conflicts
- Loading branch information