Skip to content

Conversation

@Confushion
Copy link

Description

Opensearch exporter is resolving the indexname of an entire block of multiple resourceLogs at one time.
It overlooks the fact that dynamic indexNames might/will vary at each resourceLog.
This MR fixes this by resolving the dynamic indexName at each new resourceLog.

Link to tracking issue

Fixes #43183

Testing

Tests for resolving indexName with multiple resourceLogs.
(Also other duplicate test have been removed)

Documentation

None

@Confushion Confushion requested a review from a team as a code owner November 8, 2025 15:27
@github-actions github-actions bot added the first-time contributor PRs made by new contributors label Nov 8, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2025

Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib.

Important reminders:

A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpensearchExporter: Dynamic log index feature puts logs in wrong index

3 participants