diff --git a/exporter/elasticsearchexporter/config_test.go b/exporter/elasticsearchexporter/config_test.go index 310a5501887d..71700158fa4f 100644 --- a/exporter/elasticsearchexporter/config_test.go +++ b/exporter/elasticsearchexporter/config_test.go @@ -74,7 +74,7 @@ func TestConfig(t *testing.T) { TracesDynamicIndex: DynamicIndexSetting{ Enabled: false, }, - LogsDynamicID: DynamicIndexSetting{ + LogsDynamicID: DynamicIDSettings{ Enabled: false, }, Pipeline: "mypipeline", @@ -149,7 +149,7 @@ func TestConfig(t *testing.T) { TracesDynamicIndex: DynamicIndexSetting{ Enabled: false, }, - LogsDynamicID: DynamicIndexSetting{ + LogsDynamicID: DynamicIDSettings{ Enabled: false, }, Pipeline: "mypipeline", @@ -224,7 +224,7 @@ func TestConfig(t *testing.T) { TracesDynamicIndex: DynamicIndexSetting{ Enabled: false, }, - LogsDynamicID: DynamicIndexSetting{ + LogsDynamicID: DynamicIDSettings{ Enabled: false, }, Pipeline: "mypipeline", diff --git a/exporter/elasticsearchexporter/factory.go b/exporter/elasticsearchexporter/factory.go index 5ce0116d14f2..3a73f19db86c 100644 --- a/exporter/elasticsearchexporter/factory.go +++ b/exporter/elasticsearchexporter/factory.go @@ -63,7 +63,7 @@ func createDefaultConfig() component.Config { TracesDynamicIndex: DynamicIndexSetting{ Enabled: false, }, - LogsDynamicID: DynamicIndexSetting{ + LogsDynamicID: DynamicIDSettings{ Enabled: false, }, Retry: RetrySettings{