-
Notifications
You must be signed in to change notification settings - Fork 527
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
Comments
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:
|
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 ... |
The
app_logs
datastream is used for mapping OTEL logs and (after PR #9068) intake v2 logs. The datastream is currently configured withdynamic: 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)
The text was updated successfully, but these errors were encountered: