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

remove mapping to trigger field #1245

Merged
merged 5 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
address comments from pr
  • Loading branch information
gsantoro committed Apr 28, 2023
commit 260ed7a65c99de712567eb39dafe6c6d723246f1
7 changes: 7 additions & 0 deletions internal/builder/testdata/existing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ elasticsearch:
properties:
example:
type: short
dynamic_templates:
- forwarded_ip_to_ip:
mapping:
type: ip
match: forwarded_ip
match_mapping_type: string

5 changes: 5 additions & 0 deletions internal/builder/testdata/expected.existing.mappings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ elasticsearch:
example:
type: short
dynamic_templates:
- forwarded_ip_to_ip:
mapping:
type: ip
match: forwarded_ip
match_mapping_type: string
- _embedded_ecs-example_template:
mapping:
type: short
Expand Down