Skip to content

Commit

Permalink
[Heartbeat] states.duration_ms should be a long not a date (#33563)
Browse files Browse the repository at this point in the history
* [Heartbeat] states.duration_ms should be a long not a date

This bug snuck in somehow, breaking indexing

* Changelog

* Mage update
  • Loading branch information
andrewvc authored Nov 3, 2022
1 parent 2932d96 commit 82cb594
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- Fix broken disable feature for kibana configured monitors. {pull}33293[33293]
- Fix states client support for output options. {pull}33405[33405]
- Fix states client reloader under managed mode. {pull}33405[33405]
- Fix bug where states.duration_ms was incorrect type. {pull}33563[33563]

*Auditbeat*

Expand Down
4 changes: 2 additions & 2 deletions heartbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
description: >
First time state with this ID was seen
- name: duration_ms
type: date
type: long
description: >
Length of time this state has existed in millis
- name: status
Expand Down Expand Up @@ -141,7 +141,7 @@
description: >
First time state with this ID was seen
- name: duration_ms
type: date
type: long
description: >
Length of time this state has existed in millis
- name: status
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16338,7 +16338,7 @@ type: date
Length of time this state has existed in millis
type: date
type: long
--
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 82cb594

Please sign in to comment.