diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index a7403441d5f..98157459162 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -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* diff --git a/metricbeat/docs/fields.asciidoc b/metricbeat/docs/fields.asciidoc index 243d791f81c..b75801a5f0b 100644 --- a/metricbeat/docs/fields.asciidoc +++ b/metricbeat/docs/fields.asciidoc @@ -1073,6 +1073,16 @@ 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`*:: @@ -1080,7 +1090,7 @@ The state of the instance, as a 16-bit unsigned integer. -- type: integer -The state of the instance (pending | running | shutting-down | terminated | stopping | stopped). +The number of threads per CPU core. -- diff --git a/x-pack/metricbeat/module/aws/ec2/_meta/fields.yml b/x-pack/metricbeat/module/aws/ec2/_meta/fields.yml index 1aaefab58f7..45c76e7ac2f 100644 --- a/x-pack/metricbeat/module/aws/ec2/_meta/fields.yml +++ b/x-pack/metricbeat/module/aws/ec2/_meta/fields.yml @@ -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. diff --git a/x-pack/metricbeat/module/aws/fields.go b/x-pack/metricbeat/module/aws/fields.go index 0eb1abe1e91..90d188ed156 100644 --- a/x-pack/metricbeat/module/aws/fields.go +++ b/x-pack/metricbeat/module/aws/fields.go @@ -19,5 +19,5 @@ func init() { // AssetAws returns asset data. // This is the base64 encoded gzipped contents of module/aws. func AssetAws() string { - return "eJzsWs1uIzcSvs9TFHJKgHFjMzPZgw8LTDzGxkA28cYe5KgpkSU112yyh0VKljEPvyj2jyy5Zcu2WrlEB8MQW6zvK9Y/+wRuaHUKuOQ3ANFES6fwHS75uzcAmlgFU0fj3Sn86w0AwBdc8heovE6WQHlrSUWGj39eQeWdiT4YN4eKYjCKYRZ8ldfOrE96iVGVxRuAQJaQ6RTm+AZgZshqPs27n4DDijo08omrWh4MPtXtNwOgNje5vxGpd/13Q5vt3LD5fCH17gso7yIaxxBL6rnFEiMsKRCwCliT3mL7p7CFZWlUud5gQEdMLsJ0lX94fvauuCd/U0/dZ5vqfbqqTkX0EW1Rq7jxREeeFVrSk5n1uP3AI3qQz3VJUFNQ5CLOCfwM0FqvMJIW4KB8VadIkJyJrXowEKgUArloV2AcJCbwLuvROI7oFBU7iahA2sRJYpzTCFxcqqYUhMfZ5WdohDFw3Z7HfYww8yE/laKx5g5l2ydxT9HKb0dFThgc6Q0CjeLdGnuJDKhUSKSBjXxjIiyRwWJyqiQNPgBHDJH0blKcQm0TT45IrhW5yazEBcGUyK1PCh0kZ01lxBJ72suSHMjPzi4/n+Udfm4wwwJtIjAMdxT8vox5okoMc9LjUs6cBomLLzkfoUajQfulE+oPz/8toNNt2IllYjBOpSA6Qq2NoEALDZVh6o7i0oebwriiRnVDkUdl3MqAQIrMQozRSVzpYIBxkcIMFfG2Uz4O36d4VPw5jPsUD4XfuGK6ijQu+CxhFNUfC/uh1K4N3xhfBEI9CvafW01jWyYI1j5UcfSBYOFtqogBF2gsTi1B9PsjXwYTaUTosn8kJ5gOjj1r3deHBn7mq9qSJIWsd19TyJmbX34EUsOgRGllZoa01EPGazHHaKp9DmhMllnCfZovPKuXkOSIMXGhSlI3kxkauyNRWu/mz+P3B9U+RJZ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