Skip to content

Commit debde55

Browse files
authored
Fixing the array types in fields.yml (#10307)
* Fixing the array types * Adding CHANGELOG entries
1 parent 768eb59 commit debde55

12 files changed

Lines changed: 35 additions & 30 deletions

File tree

CHANGELOG.next.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
115115
- Support haproxy log lines without captured headers. {issue}9463[9463] {pull}9958[9958]
116116
- Make elasticsearch/audit fileset be more lenient in parsing node name. {issue}10035[10035] {pull}10135[10135]
117117
- Fix bad bytes count in `docker` input when filtering by stream. {pull}10211[10211]
118+
- Fixed data types for roles and indices fields in `elasticsearch/audit` fileset {pull}10307[10307]
118119

119120
*Heartbeat*
120121

@@ -127,6 +128,10 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
127128
- Fix panics in vsphere module when certain values where not returned by the API. {pull}9784[9784]
128129
- Fix pod UID metadata enrichment in Kubernetes module. {pull}10081[10081]
129130
- Fix issue that would prevent collection of processes without command line on Windows. {pull}10196[10196]
131+
- Fixed data type for tags field in `docker/container` metricset {pull}10307[10307]
132+
- Fixed data type for tags field in `docker/image` metricset {pull}10307[10307]
133+
- Fixed data type for isr field in `kafka/partition` metricset {pull}10307[10307]
134+
- Fixed data types for various hosts fields in `mongodb/replstatus` metricset {pull}10307[10307]
130135

131136
*Packetbeat*
132137

filebeat/docs/fields.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3956,7 +3956,7 @@ The authentication realm
39563956
*`elasticsearch.audit.roles`*::
39573957
+
39583958
--
3959-
type: array
3959+
type: keyword
39603960
39613961
example: ['kibana_user', 'beats_admin']
39623962
@@ -3978,7 +3978,7 @@ The name of the action that was executed
39783978
*`elasticsearch.audit.indices`*::
39793979
+
39803980
--
3981-
type: array
3981+
type: keyword
39823982
39833983
example: ['foo-2019.01.04', 'foo-2019.01.03', 'foo-2019.01.06']
39843984

filebeat/module/elasticsearch/audit/_meta/fields.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
- name: roles
1818
description: "Roles to which the principal belongs"
1919
example: [ "kibana_user", "beats_admin" ]
20-
type: array
20+
type: keyword
2121
- name: action
2222
description: "The name of the action that was executed"
2323
example: "cluster:monitor/main"
2424
type: keyword
2525
- name: indices
2626
description: "Indices accessed by action"
2727
example: [ "foo-2019.01.04", "foo-2019.01.03", "foo-2019.01.06" ]
28-
type: array
28+
type: keyword
2929
- name: request
3030
description: "The type of request that was executed"
3131
example: "ClearScrollRequest"

filebeat/module/elasticsearch/fields.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

metricbeat/docs/fields.asciidoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2687,7 +2687,7 @@ Size of the files that have been created or changed since creation.
26872687
*`docker.container.tags`*::
26882688
+
26892689
--
2690-
type: array
2690+
type: keyword
26912691
26922692
Image tags.
26932693
@@ -3206,7 +3206,7 @@ Image labels.
32063206
*`docker.image.tags`*::
32073207
+
32083208
--
3209-
type: array
3209+
type: keyword
32103210
32113211
Image tags.
32123212
@@ -10508,7 +10508,7 @@ Leader id (broker).
1050810508
*`kafka.partition.partition.isr`*::
1050910509
+
1051010510
--
10511-
type: array
10511+
type: keyword
1051210512
1051310513
List of isr ids.
1051410514
@@ -14859,7 +14859,7 @@ Optime of primary
1485914859
*`mongodb.replstatus.members.secondary.hosts`*::
1486014860
+
1486114861
--
14862-
type: array
14862+
type: keyword
1486314863
1486414864
List of secondary hosts
1486514865
@@ -14886,7 +14886,7 @@ type: long
1488614886
*`mongodb.replstatus.members.recovering.hosts`*::
1488714887
+
1488814888
--
14889-
type: array
14889+
type: keyword
1489014890
1489114891
List of recovering members hosts
1489214892
@@ -14906,7 +14906,7 @@ Count of members in the `recovering` state
1490614906
*`mongodb.replstatus.members.unknown.hosts`*::
1490714907
+
1490814908
--
14909-
type: array
14909+
type: keyword
1491014910
1491114911
List of members' hosts in the `unknown` state
1491214912
@@ -14926,7 +14926,7 @@ Count of members with `unknown` state
1492614926
*`mongodb.replstatus.members.startup2.hosts`*::
1492714927
+
1492814928
--
14929-
type: array
14929+
type: keyword
1493014930
1493114931
List of initializing members hosts
1493214932
@@ -14946,7 +14946,7 @@ Count of members in the `startup2` state
1494614946
*`mongodb.replstatus.members.arbiter.hosts`*::
1494714947
+
1494814948
--
14949-
type: array
14949+
type: keyword
1495014950
1495114951
List of arbiters hosts
1495214952
@@ -14966,7 +14966,7 @@ Count of arbiters
1496614966
*`mongodb.replstatus.members.down.hosts`*::
1496714967
+
1496814968
--
14969-
type: array
14969+
type: keyword
1497014970
1497114971
List of `down` members hosts
1497214972
@@ -14986,7 +14986,7 @@ Count of `down` members
1498614986
*`mongodb.replstatus.members.rollback.hosts`*::
1498714987
+
1498814988
--
14989-
type: array
14989+
type: keyword
1499014990
1499114991
List of members in the `rollback` state
1499214992
@@ -15006,7 +15006,7 @@ Count of members in the `rollback` state
1500615006
*`mongodb.replstatus.members.unhealthy.hosts`*::
1500715007
+
1500815008
--
15009-
type: array
15009+
type: keyword
1501015010
1501115011
List of members' hosts with healthy = false
1501215012

metricbeat/module/docker/container/_meta/fields.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
description: >
3535
Size of the files that have been created or changed since creation.
3636
- name: tags
37-
type: array
37+
type: keyword
3838
description: >
3939
Image tags.

metricbeat/module/docker/fields.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

metricbeat/module/docker/image/_meta/fields.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@
4242
Image labels.
4343
4444
- name: tags
45-
type: array
45+
type: keyword
4646
description: >
4747
Image tags.

metricbeat/module/kafka/fields.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

metricbeat/module/kafka/partition/_meta/fields.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
description: >
3535
Leader id (broker).
3636
- name: isr
37-
type: array
37+
type: keyword
3838
description: >
3939
List of isr ids.
4040
- name: replica

0 commit comments

Comments
 (0)