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

Update dynamic template for url.original and url.full (import_mappings setting) #2337

Merged
merged 2 commits into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/builder/_static/ecs_mappings.yaml
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated dynamic templates to be as similar as possible to the ecs@mappings component template:
https://github.com/elastic/elasticsearch/blob/09df99393193b2c53d92899662a8b8b3c55b45cd/x-pack/plugin/core/template-resources/src/main/resources/ecs%40mappings.json#L54-L69

Packages that rely on these dynamic templates should publish a new version in order to get the changes.

Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ mappings:
text:
type: match_only_text
type: wildcard
path_match: '*.url.full'
path_match: '*url.full'
- url_original_to_multifield:
mapping:
fields:
text:
type: match_only_text
type: wildcard
path_match: '*.url.original'
path_match: '*url.original'
- user_agent_original_to_multifield:
mapping:
fields:
Expand Down