-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Description
Component(s)
exporter/elasticsearch
What happened?
Description
mapping.dedup
and mapping.dedot
configuration have no effect, they are always enabled and disabled, respectively:
// TODO: Apply encoding and field mapping settings.
model := &encodeModel{dedup: true, dedot: false}
Steps to Reproduce
- Set
mapping.dedot
totrue
in the receiver's config. - Run and see dots are preserved
Expected Result
mapping.dedup
and mapping.dedot
config values are used.
Alternatively, change documentation to reflect these fields are not operational.
Actual Result
Fields have no effect.
Collector version
0.71.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
exporters:
elasticsearch:
mappings:
dedot: true
Log output
No response
Additional context
PR fixing bug: #19420
leewoobin789