Description
The configuration interface of the k8sattributes receiver is over-complicated. This is an attempt to simplify it a bit.
FieldExtractConfig
have KeyRegex
and Regex
options, which is pretty confusing. The Regex
config option doesn't seem to be very important. I can be easily replaced with a transform processor with replace_pattern
and replace_match
functions. Therefore, I suggest:
- Deprecate
FieldExtractConfig.Regex
option with instructions on how to replace it with the transform processor - Delete the option after 5 releases.