Skip to content

Commit

Permalink
Fix ceph cluster_status field mapping (elastic#5070)
Browse files Browse the repository at this point in the history
The fields.yml had `bool` instead of `boolean` causing a `mapper_parsing_exception` due to `No handler for type [bool]`.

Fixes elastic#5069
  • Loading branch information
andrewkroh authored and ruflin committed Sep 1, 2017
1 parent 84bfda1 commit c2150c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1027,15 +1027,15 @@ Cluster status version
[float]
=== `ceph.cluster_status.osd.full`
type: bool
type: boolean
Is osd full
[float]
=== `ceph.cluster_status.osd.nearfull`
type: bool
type: boolean
Is osd near full
Expand Down
4 changes: 2 additions & 2 deletions metricbeat/module/ceph/cluster_status/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@
description: >
Cluster status version
- name: osd.full
type: bool
type: boolean
description: >
Is osd full
- name: osd.nearfull
type: bool
type: boolean
description: >
Is osd near full
- name: osd.num_osds
Expand Down

0 comments on commit c2150c5

Please sign in to comment.