Could not dynamically add mapping for field [app.kubernetes.io/instance]. Existing mapping for [kubernetes.labels.app] must be of type object but found [text]

Im using fluentbit to scrape logs and send it to logstash. logstash forwards it to ES.
i already have a field with kubernetes.labels.app on a separate event(production)
I am using helm for my development event and helm creates the labels with dots for eg: app.kubernetes.io/instance.
As you can see the error i get in the title. it doesn't like that the mapping already exists and is of different type.
I have tried renaming the labels using mutate filter in the input section of the fluentbit config file but that does not help. i also tried the de_dot filter.
any workaround for this like the way you have for beats using drop_field processors?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.