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

Add instance.state.name into fields.yml #11221

Merged
merged 3 commits into from
Mar 13, 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
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Collect metrics when EC2 instances are not in running state. {issue}11008[11008] {pull}11023[11023]
- Change ECS field cloud.provider to aws. {pull}11023[11023]
- Add documentation about jolokia autodiscover fields. {issue}10925[10925] {pull}10979[10979]
- Add missing aws.ec2.instance.state.name into fields.yml. {issue}11219[11219] {pull}11221[11221]

*Packetbeat*

Expand Down
12 changes: 11 additions & 1 deletion metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1073,14 +1073,24 @@ type: integer
The state of the instance, as a 16-bit unsigned integer.


--

*`aws.ec2.instance.state.name`*::
+
--
type: keyword

The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).


--

*`aws.ec2.instance.threads_per_core`*::
+
--
type: integer

The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).
The number of threads per CPU core.


--
Expand Down
6 changes: 5 additions & 1 deletion x-pack/metricbeat/module/aws/ec2/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@
type: integer
description: >
The state of the instance, as a 16-bit unsigned integer.
- name: instance.state.name
type: keyword
description: >
The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).
- name: instance.threads_per_core
type: integer
description: >
The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).
The number of threads per CPU core.
2 changes: 1 addition & 1 deletion x-pack/metricbeat/module/aws/fields.go

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