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

Explore dynamic mapping for app logs datastream #9093

Open
lahsivjar opened this issue Sep 12, 2022 · 2 comments
Open

Explore dynamic mapping for app logs datastream #9093

lahsivjar opened this issue Sep 12, 2022 · 2 comments

Comments

@lahsivjar
Copy link
Contributor

The app_logs datastream is used for mapping OTEL logs and (after PR #9068) intake v2 logs. The datastream is currently configured with dynamic: false which disables automatic detection and mapping of new fields.

We want to explore setting dynamic: runtime on the field to enable fields to be searchable by default. One of the motivation for this is to enable greater flexibility for the logs intake support via APM-Server as ECS logging library may add arbitrary key/value pairs to the document root.

Related issues

#8757 (relevant comment)

@felixbarny
Copy link
Member

While we'd like to move forward with allowing storing arbitrary key/value pairs added via structured logging or MDC, there are some risks associated with that which can lead to data loss. Therefore, this issue is blocked by the following prerequisites:

@ManuelKugelmann
Copy link

Any progress here ? I recently noticed that ECS clashes with some types of structured logging / MDC (properties with numerical values do not really fit onto the keyword based labels box) and would really like to keep them in a custom part of the entry and have them sensibly mapped ...

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

No branches or pull requests

4 participants