Skip to content

Commit

Permalink
Fixing the array types in fields.yml (#10307) (#10317)
Browse files Browse the repository at this point in the history
* Fixing the array types

* Adding CHANGELOG entries

(cherry picked from commit debde55)
  • Loading branch information
ycombinator authored Jan 24, 2019
1 parent 71d880f commit e864a37
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 25 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ https://github.com/elastic/beats/compare/v6.6.0...6.x[Check the HEAD diff]
- Support haproxy log lines without captured headers. {issue}9463[9463] {pull}9958[9958]
- Make elasticsearch/audit fileset be more lenient in parsing node name. {issue}10035[10035] {pull}10135[10135]
- Fix bad bytes count in `docker` input when filtering by stream. {pull}10211[10211]
- Fixed data types for roles and indices fields in `elasticsearch/audit` fileset {pull}10307[10307]

*Heartbeat*

Expand All @@ -103,6 +104,10 @@ https://github.com/elastic/beats/compare/v6.6.0...6.x[Check the HEAD diff]
- Fix MongoDB dashboard that had some incorrect field names from `status` Metricset {pull}9795[9795] {issue}9715[9715]
- Fix pod UID metadata enrichment in Kubernetes module. {pull}10081[10081]
- Fix issue that would prevent collection of processes without command line on Windows. {pull}10196[10196]
- Fixed data type for tags field in `docker/container` metricset {pull}10307[10307]
- Fixed data type for tags field in `docker/image` metricset {pull}10307[10307]
- Fixed data type for isr field in `kafka/partition` metricset {pull}10307[10307]
- Fixed data types for various hosts fields in `mongodb/replstatus` metricset {pull}10307[10307]

*Packetbeat*

Expand Down
22 changes: 11 additions & 11 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2721,7 +2721,7 @@ Size of the files that have been created or changed since creation.
*`docker.container.tags`*::
+
--
type: array
type: keyword
Image tags.
Expand Down Expand Up @@ -3240,7 +3240,7 @@ Image labels.
*`docker.image.tags`*::
+
--
type: array
type: keyword
Image tags.
Expand Down Expand Up @@ -7565,7 +7565,7 @@ Leader id (broker).
*`kafka.partition.partition.isr`*::
+
--
type: array
type: keyword
List of isr ids.
Expand Down Expand Up @@ -11858,7 +11858,7 @@ Optime of primary
*`mongodb.replstatus.members.secondary.hosts`*::
+
--
type: array
type: keyword
List of secondary hosts
Expand All @@ -11885,7 +11885,7 @@ type: long
*`mongodb.replstatus.members.recovering.hosts`*::
+
--
type: array
type: keyword
List of recovering members hosts
Expand All @@ -11905,7 +11905,7 @@ Count of members in the `recovering` state
*`mongodb.replstatus.members.unknown.hosts`*::
+
--
type: array
type: keyword
List of members' hosts in the `unknown` state
Expand All @@ -11925,7 +11925,7 @@ Count of members with `unknown` state
*`mongodb.replstatus.members.startup2.hosts`*::
+
--
type: array
type: keyword
List of initializing members hosts
Expand All @@ -11945,7 +11945,7 @@ Count of members in the `startup2` state
*`mongodb.replstatus.members.arbiter.hosts`*::
+
--
type: array
type: keyword
List of arbiters hosts
Expand All @@ -11965,7 +11965,7 @@ Count of arbiters
*`mongodb.replstatus.members.down.hosts`*::
+
--
type: array
type: keyword
List of `down` members hosts
Expand All @@ -11985,7 +11985,7 @@ Count of `down` members
*`mongodb.replstatus.members.rollback.hosts`*::
+
--
type: array
type: keyword
List of members in the `rollback` state
Expand All @@ -12005,7 +12005,7 @@ Count of members in the `rollback` state
*`mongodb.replstatus.members.unhealthy.hosts`*::
+
--
type: array
type: keyword
List of members' hosts with healthy = false
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/docker/container/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
description: >
Size of the files that have been created or changed since creation.
- name: tags
type: array
type: keyword
description: >
Image tags.
2 changes: 1 addition & 1 deletion metricbeat/module/docker/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion metricbeat/module/docker/image/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
Image labels.
- name: tags
type: array
type: keyword
description: >
Image tags.
2 changes: 1 addition & 1 deletion metricbeat/module/kafka/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion metricbeat/module/kafka/partition/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
description: >
Leader id (broker).
- name: isr
type: array
type: keyword
description: >
List of isr ids.
- name: replica
Expand Down
Loading

0 comments on commit e864a37

Please sign in to comment.