Skip to content

Commit

Permalink
[Heartbeat] Fix mapping for state.ends.id (#34891)
Browse files Browse the repository at this point in the history
The mapping for state.ends.id should match state.id, with both being a keyword, since IDs are strings.
  • Loading branch information
andrewvc committed Mar 22, 2023
1 parent d8a9ec4 commit 210f593
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Expand Up @@ -114,6 +114,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- Enable nodejs engine strict validation when bundling synthetics. {pull}34470[34470]
with the ecs field name `container`. {pull}34403[34403]
automatic splitting at root level, if root level element is an array. {pull}34155[34155]
- Fix broken mapping for state.ends field. {pull}34891[34891]

*Heartbeat*

Expand Down
2 changes: 1 addition & 1 deletion heartbeat/_meta/fields.common.yml
Expand Up @@ -133,7 +133,7 @@
description: the state that was ended by this state
fields:
- name: id
type: integer
type: keyword
description: >
ID of this state
- name: started_at
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion x-pack/heartbeat/include/fields.go

Large diffs are not rendered by default.

0 comments on commit 210f593

Please sign in to comment.