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

(cherry picked from commit 82cb594)
  • Loading branch information
andrewvc authored and mergify[bot] committed Nov 3, 2022
1 parent 624f544 commit ed56480
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
*Filebeat*

- Fix `httpjson` input page number initialization and documentation. {pull}33400[33400]
- Add handling of AAA operations for Cisco ASA module. {issue}32257[32257] {pull}32789[32789]
- Fix gc.log always shipped even if gc fileset is disabled {issue}30995[30995]
- Fix handling of empty array in httpjson input. {pull}32001[32001]

*Heartbeat*
- Fix bug affecting let's encrypt and other users of cross-signed certs, where cert expiration was incorrectly calculated. {issue}33215[33215]
- 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 ed56480

Please sign in to comment.