Skip to content

Do not emit elastic_product_origin when value is empty #81757

@pgomulka

Description

@pgomulka

In deprecation logs when elastic_product_origin is empty the field is emitted anyway

"elasticsearch.elastic_product_origin":""

The same applies to indexed deprecation logs.
We should fix the deprecation message to only emit a field if the value is not empty

This affects 8.1 and 8.0.
Should not affect 7.16 (just by looking at the code) but should be confirmed

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions