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

elasticsearchexporter support for dynamic log Body json parsing #37339

Open
PowerSurj opened this issue Jan 20, 2025 · 1 comment
Open

elasticsearchexporter support for dynamic log Body json parsing #37339

PowerSurj opened this issue Jan 20, 2025 · 1 comment
Labels
enhancement New feature or request exporter/elasticsearch needs triage New item requiring triage

Comments

@PowerSurj
Copy link

Component(s)

exporter/elasticsearch

Is your feature request related to a problem? Please describe.

elasticsearchexporter doesn't do dynamic log Body json parsing without defining the Body schema.

When using transform processor merge_maps(cache, ParseJSON(body), "upsert") where IsMatch(body, "^\{")
all keys being prepended to attributes key.

However, we need to keep log message json keys to be at the root

Describe the solution you'd like

support dynamic nested json log message parsing in the exporter
resulting with the fields at the root document level without attributes. prefix

Describe alternatives you've considered

ELK Ingestion Pipelines can handle this, but it is an additional configuration dependency

Additional context

No response

@PowerSurj PowerSurj added enhancement New feature or request needs triage New item requiring triage labels Jan 20, 2025
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request exporter/elasticsearch needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

1 participant