Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/elasticsearch] handle ecs mode mapping #29742

Closed
wants to merge 6 commits into from
Closed

[exporter/elasticsearch] handle ecs mode mapping #29742

wants to merge 6 commits into from

Conversation

j-kap-t
Copy link
Contributor

@j-kap-t j-kap-t commented Dec 11, 2023

Description:

Initial pass in implementing the ecs mapping mode that is documented but not implemented. This only covers a small subset of attribute mappings from otel > ecs, but the core record fields should be properly mapped.

Link to tracking Issue:

Testing:
Added test for ecs mapping mode.

Documentation:
Updated the documentation to reflect the default behavior is the current behavior with no mapping applied.

Copy link

linux-foundation-easycla bot commented Dec 11, 2023

CLA Missing ID CLA Not Signed

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Dec 26, 2023
Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Jan 10, 2024
andrzej-stencel added a commit that referenced this pull request May 7, 2024
….mode: ecs` (#31694)

**Description:** <Describe what has changed.>

This PR is a follow up to
#31553.
In that PR, the foundations were laid for encoding log records with ECS
fields when the user specifies `mapping.mode: ecs` in their exporter
configuration.

This PR adds ECS conversions for several additional fields.

I expect there will be more followup PR(s) to add more conversions,
especially ones that might not be straightforward.

**Link to tracking issue:** #29742 

**Testing:** Added unit tests

**Documentation:** The `mapping.mode: ecs` configuration setting is
already
[documented](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/elasticsearchexporter#configuration-options).

---------

Co-authored-by: Andrzej Stencel <andrzej@andrzejstencel.pl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant