Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the array types in fields.yml #10307

Merged
merged 2 commits into from
Jan 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- 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 @@ -127,6 +128,10 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix panics in vsphere module when certain values where not returned by the API. {pull}9784[9784]
- 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
4 changes: 2 additions & 2 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3956,7 +3956,7 @@ The authentication realm
*`elasticsearch.audit.roles`*::
+
--
type: array
type: keyword

example: ['kibana_user', 'beats_admin']

Expand All @@ -3978,7 +3978,7 @@ The name of the action that was executed
*`elasticsearch.audit.indices`*::
+
--
type: array
type: keyword

example: ['foo-2019.01.04', 'foo-2019.01.03', 'foo-2019.01.06']

Expand Down
4 changes: 2 additions & 2 deletions filebeat/module/elasticsearch/audit/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
- name: roles
description: "Roles to which the principal belongs"
example: [ "kibana_user", "beats_admin" ]
type: array
type: keyword
- name: action
description: "The name of the action that was executed"
example: "cluster:monitor/main"
type: keyword
- name: indices
description: "Indices accessed by action"
example: [ "foo-2019.01.04", "foo-2019.01.03", "foo-2019.01.06" ]
type: array
type: keyword
- name: request
description: "The type of request that was executed"
example: "ClearScrollRequest"
Expand Down
2 changes: 1 addition & 1 deletion filebeat/module/elasticsearch/fields.go

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

22 changes: 11 additions & 11 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2687,7 +2687,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 @@ -3206,7 +3206,7 @@ Image labels.
*`docker.image.tags`*::
+
--
type: array
type: keyword

Image tags.

Expand Down Expand Up @@ -10508,7 +10508,7 @@ Leader id (broker).
*`kafka.partition.partition.isr`*::
+
--
type: array
type: keyword

List of isr ids.

Expand Down Expand Up @@ -14860,7 +14860,7 @@ Optime of primary
*`mongodb.replstatus.members.secondary.hosts`*::
+
--
type: array
type: keyword

List of secondary hosts

Expand All @@ -14887,7 +14887,7 @@ type: long
*`mongodb.replstatus.members.recovering.hosts`*::
+
--
type: array
type: keyword

List of recovering members hosts

Expand All @@ -14907,7 +14907,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 @@ -14927,7 +14927,7 @@ Count of members with `unknown` state
*`mongodb.replstatus.members.startup2.hosts`*::
+
--
type: array
type: keyword

List of initializing members hosts

Expand All @@ -14947,7 +14947,7 @@ Count of members in the `startup2` state
*`mongodb.replstatus.members.arbiter.hosts`*::
+
--
type: array
type: keyword

List of arbiters hosts

Expand All @@ -14967,7 +14967,7 @@ Count of arbiters
*`mongodb.replstatus.members.down.hosts`*::
+
--
type: array
type: keyword

List of `down` members hosts

Expand All @@ -14987,7 +14987,7 @@ Count of `down` members
*`mongodb.replstatus.members.rollback.hosts`*::
+
--
type: array
type: keyword

List of members in the `rollback` state

Expand All @@ -15007,7 +15007,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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@exekias FYI

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@exekias FYI

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