diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 1f7566bd936..4156b0b1e81 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -47,6 +47,7 @@ https://github.com/elastic/beats/compare/v6.0.0-alpha1...master[Check the HEAD d - Add filtering to system filesystem metricset to remove relative mountpoints like those from Linux network namespaces. {pull}4370[4370] - Remove unnecessary print statement in schema apis {pull}4355[4355] +- Fix type of field `haproxy.stat.check.health.last`. {issue}4407[4407] *Packetbeat* - Enable memcache filtering only if a port is specified in the config file. {issue}4335[4335] diff --git a/metricbeat/docs/fields.asciidoc b/metricbeat/docs/fields.asciidoc index f9856397403..e04e82ccf07 100644 --- a/metricbeat/docs/fields.asciidoc +++ b/metricbeat/docs/fields.asciidoc @@ -5188,8 +5188,9 @@ Time in ms that it took to finish the last health check. [float] === haproxy.stat.check.health.last -type: long +type: keyword +The result of the last health check. [float] @@ -5197,6 +5198,7 @@ type: long type: long +Number of failed checks. [float] diff --git a/metricbeat/module/haproxy/stat/_meta/fields.yml b/metricbeat/module/haproxy/stat/_meta/fields.yml index 98b90c3ad03..2788f72cfe0 100644 --- a/metricbeat/module/haproxy/stat/_meta/fields.yml +++ b/metricbeat/module/haproxy/stat/_meta/fields.yml @@ -298,12 +298,14 @@ Time in ms that it took to finish the last health check. - name: health.last - type: long + type: keyword description: > + The result of the last health check. - name: health.fail type: long description: > + Number of failed checks. - name: agent.last type: integer