elastic / elastic/apm-server

Explore dynamic mapping for app logs datastream

Open
#9,093 2 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

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](https://github.com/elastic/apm-server/issues/8757#issuecomment-1239170331))

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.