diff --git a/packages/aws/_dev/build/docs/README.md b/packages/aws/_dev/build/docs/README.md index dfff4e70fb9..e35b84d1da7 100644 --- a/packages/aws/_dev/build/docs/README.md +++ b/packages/aws/_dev/build/docs/README.md @@ -160,6 +160,7 @@ Visit the page for each individual AWS integration to see details about exported | ECS | x | | | ELB | x | x | | Fargate | x | | +| Kinesis | x | | | Network Firewall | x | x | | Lambda | x | | | NAT Gateway | x | | diff --git a/packages/aws/_dev/build/docs/kinesis.md b/packages/aws/_dev/build/docs/kinesis.md new file mode 100644 index 00000000000..706e4c16ba6 --- /dev/null +++ b/packages/aws/_dev/build/docs/kinesis.md @@ -0,0 +1,7 @@ +# kinesis + +## Metrics + +{{event "kinesis"}} + +{{fields "kinesis"}} \ No newline at end of file diff --git a/packages/aws/changelog.yml b/packages/aws/changelog.yml index dd923fe5e82..33034e059ab 100644 --- a/packages/aws/changelog.yml +++ b/packages/aws/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.19.0" + changes: + - description: Add Kinesis metrics datastream + type: enhancement + link: https://github.com/elastic/integrations/pull/3829 - version: "1.18.2" changes: - description: Move s3_request metrics config from beats to integrations diff --git a/packages/aws/data_stream/kinesis/agent/stream/stream.yml.hbs b/packages/aws/data_stream/kinesis/agent/stream/stream.yml.hbs new file mode 100644 index 00000000000..73a980491f3 --- /dev/null +++ b/packages/aws/data_stream/kinesis/agent/stream/stream.yml.hbs @@ -0,0 +1,75 @@ +metricsets: ["cloudwatch"] +period: {{period}} +{{#if access_key_id}} +access_key_id: {{access_key_id}} +{{/if}} +{{#if secret_access_key}} +secret_access_key: {{secret_access_key}} +{{/if}} +{{#if session_token}} +session_token: {{session_token}} +{{/if}} +{{#if credential_profile_name}} +credential_profile_name: {{credential_profile_name}} +{{/if}} +{{#if shared_credential_file}} +shared_credential_file: {{shared_credential_file}} +{{/if}} +{{#if role_arn}} +role_arn: {{role_arn}} +{{/if}} +{{#if endpoint}} +endpoint: {{endpoint}} +{{/if}} +{{#if regions}} +regions: +{{#each regions as |region i|}} +- {{region}} +{{/each}} +{{/if}} +{{#if latency}} +latency: {{latency}} +{{/if}} +{{#if tags_filter}} +tags_filter: {{tags_filter}} +{{/if}} +{{#if proxy_url }} +proxy_url: {{proxy_url}} +{{/if}} +metrics: +- namespace: AWS/Kinesis + resource_type: kinesis + statistic: ["Average"] + name: + - GetRecords.Bytes + - GetRecords.IteratorAgeMilliseconds + - GetRecords.Latency + - IncomingBytes + - IncomingRecords + - PutRecord.Bytes + - PutRecord.Latency + - PutRecord.Success + - PutRecords.Bytes + - PutRecords.Latency + - PutRecords.Success + - ReadProvisionedThroughputExceeded + - SubscribeToShard.RateExceeded + - SubscribeToShard.Success + - SubscribeToShardEvent.Bytes + - SubscribeToShardEvent.MillisBehindLatest + - SubscribeToShardEvent.Success + - WriteProvisionedThroughputExceeded + - OutgoingBytes + - IteratorAgeMilliseconds +- namespace: AWS/Kinesis + resource_type: kinesis + statistic: ["Sum"] + name: + - GetRecords.Records + - GetRecords.Success + - PutRecords.TotalRecords + - PutRecords.SuccessfulRecords + - PutRecords.FailedRecords + - PutRecords.ThrottledRecords + - SubscribeToShardEvent.Records + - OutgoingRecords diff --git a/packages/aws/data_stream/kinesis/fields/agent.yml b/packages/aws/data_stream/kinesis/fields/agent.yml new file mode 100644 index 00000000000..8603c3c91e2 --- /dev/null +++ b/packages/aws/data_stream/kinesis/fields/agent.yml @@ -0,0 +1,238 @@ +- name: cloud + title: Cloud + group: 2 + description: Fields related to the cloud or infrastructure the events are coming from. + footnote: 'Examples: If Metricbeat is running on an EC2 host and fetches data from its host, the cloud info contains the data about this machine. If Metricbeat runs on a remote machine outside the cloud and fetches data from a service running in the cloud, the field contains cloud data from the machine the service is running on.' + type: group + fields: + - name: account.id + level: extended + type: keyword + ignore_above: 1024 + description: 'The cloud account or organization id used to identify different entities in a multi-tenant environment. + + Examples: AWS account id, Google Cloud ORG Id, or other unique identifier.' + example: 666777888999 + - name: availability_zone + level: extended + type: keyword + ignore_above: 1024 + description: Availability zone in which this host is running. + example: us-east-1c + - name: instance.id + level: extended + type: keyword + ignore_above: 1024 + description: Instance ID of the host machine. + example: i-1234567890abcdef0 + - name: instance.name + level: extended + type: keyword + ignore_above: 1024 + description: Instance name of the host machine. + - name: machine.type + level: extended + type: keyword + ignore_above: 1024 + description: Machine type of the host machine. + example: t2.medium + - name: provider + level: extended + type: keyword + ignore_above: 1024 + description: Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean. + example: aws + - name: region + level: extended + type: keyword + ignore_above: 1024 + description: Region in which this host is running. + example: us-east-1 + - name: project.id + type: keyword + description: Name of the project in Google Cloud. + - name: image.id + type: keyword + description: Image ID for the cloud instance. +- name: container + title: Container + group: 2 + description: 'Container fields are used for meta information about the specific container that is the source of information. + + These fields help correlate data based containers from any runtime.' + type: group + fields: + - name: id + level: core + type: keyword + ignore_above: 1024 + description: Unique container id. + - name: image.name + level: extended + type: keyword + ignore_above: 1024 + description: Name of the image the container was built on. + - name: labels + level: extended + type: object + object_type: keyword + description: Image labels. + - name: name + level: extended + type: keyword + ignore_above: 1024 + description: Container name. +- name: host + title: Host + group: 2 + description: 'A host is defined as a general computing instance. + + ECS host.* fields should be populated with details about the host on which the event happened, or from which the measurement was taken. Host types include hardware, virtual machines, Docker containers, and Kubernetes nodes.' + type: group + fields: + - name: architecture + level: core + type: keyword + ignore_above: 1024 + description: Operating system architecture. + example: x86_64 + - name: domain + level: extended + type: keyword + ignore_above: 1024 + description: 'Name of the domain of which the host is a member. + + For example, on Windows this could be the host''s Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host''s LDAP provider.' + example: CONTOSO + default_field: false + - name: hostname + level: core + type: keyword + ignore_above: 1024 + description: 'Hostname of the host. + + It normally contains what the `hostname` command returns on the host machine.' + - name: id + level: core + type: keyword + ignore_above: 1024 + description: 'Unique host id. + + As hostname is not always unique, use values that are meaningful in your environment. + + Example: The current usage of `beat.name`.' + - name: ip + level: core + type: ip + description: Host ip addresses. + - name: mac + level: core + type: keyword + ignore_above: 1024 + description: Host mac addresses. + - name: name + level: core + type: keyword + ignore_above: 1024 + description: 'Name of the host. + + It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use.' + - name: os.family + level: extended + type: keyword + ignore_above: 1024 + description: OS family (such as redhat, debian, freebsd, windows). + example: debian + - name: os.kernel + level: extended + type: keyword + ignore_above: 1024 + description: Operating system kernel version as a raw string. + example: 4.4.0-112-generic + - name: os.name + level: extended + type: keyword + ignore_above: 1024 + multi_fields: + - name: text + type: text + norms: false + default_field: false + description: Operating system name, without the version. + example: Mac OS X + - name: os.platform + level: extended + type: keyword + ignore_above: 1024 + description: Operating system platform (such centos, ubuntu, windows). + example: darwin + - name: os.version + level: extended + type: keyword + ignore_above: 1024 + description: Operating system version as a raw string. + example: 10.14.1 + - name: type + level: core + type: keyword + ignore_above: 1024 + description: 'Type of host. + + For Cloud providers this can be the machine type like `t2.medium`. If vm, this could be the container, for example, or other information meaningful in your environment.' + - name: containerized + type: boolean + description: > + If the host is a container. + + - name: os.build + type: keyword + example: "18D109" + description: > + OS build information. + + - name: os.codename + type: keyword + example: "stretch" + description: > + OS codename, if any. + + - name: cpu.pct + type: scaled_float + format: percent + description: > + Percent CPU used. This value is normalized by the number of CPU cores and it ranges from 0 to 1. + + - name: disk.read.bytes + type: long + format: bytes + description: > + The total number of bytes read successfully in a given period of time. + + - name: disk.write.bytes + type: long + format: bytes + description: > + The total number of bytes write successfully in a given period of time. + + - name: network.in.bytes + type: long + format: bytes + description: > + The number of bytes received on all network interfaces by the host in a given period of time. + + - name: network.in.packets + type: long + description: > + The number of packets received on all network interfaces by the host in a given period of time. + + - name: network.out.bytes + type: long + format: bytes + description: > + The number of bytes sent out on all network interfaces by the host in a given period of time. + + - name: network.out.packets + type: long + description: > + The number of packets sent out on all network interfaces by the host in a given period of time. + diff --git a/packages/aws/data_stream/kinesis/fields/base-fields.yml b/packages/aws/data_stream/kinesis/fields/base-fields.yml new file mode 100644 index 00000000000..fb096141187 --- /dev/null +++ b/packages/aws/data_stream/kinesis/fields/base-fields.yml @@ -0,0 +1,20 @@ +- name: data_stream.type + type: constant_keyword + description: Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: Data stream namespace. +- name: '@timestamp' + type: date + description: Event timestamp. +- name: event.module + type: constant_keyword + description: Event module + value: aws +- name: event.dataset + type: constant_keyword + description: Event dataset + value: aws.kinesis diff --git a/packages/aws/data_stream/kinesis/fields/ecs.yml b/packages/aws/data_stream/kinesis/fields/ecs.yml new file mode 100644 index 00000000000..83e3f6f1225 --- /dev/null +++ b/packages/aws/data_stream/kinesis/fields/ecs.yml @@ -0,0 +1,24 @@ +- external: ecs + name: cloud +- external: ecs + name: cloud.account.id +- external: ecs + name: cloud.account.name +- external: ecs + name: cloud.availability_zone +- external: ecs + name: cloud.instance.id +- external: ecs + name: cloud.machine.type +- external: ecs + name: cloud.provider +- external: ecs + name: cloud.region +- external: ecs + name: ecs.version +- external: ecs + name: error +- external: ecs + name: error.message +- external: ecs + name: service.type diff --git a/packages/aws/data_stream/kinesis/fields/fields.yml b/packages/aws/data_stream/kinesis/fields/fields.yml new file mode 100644 index 00000000000..dd390a34dff --- /dev/null +++ b/packages/aws/data_stream/kinesis/fields/fields.yml @@ -0,0 +1,143 @@ +- name: aws + type: group + fields: + - name: dimensions + type: group + fields: + - name: StreamName + type: keyword + description: The name of the Kinesis stream. All available statistics are filtered by StreamName. + - name: kinesis.metrics + type: group + fields: + - name: GetRecords_Bytes.avg + type: double + description: > + The average number of bytes retrieved from the Kinesis stream, measured over the specified time period. + + - name: GetRecords_IteratorAgeMilliseconds.avg + type: double + description: > + The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period. Age is the difference between the current time and when the last record of the GetRecords call was written to the stream. + + - name: GetRecords_Latency.avg + type: double + description: > + The time taken per GetRecords operation, measured over the specified time period. + + - name: GetRecords_Records.sum + type: long + description: > + The number of records retrieved from the shard, measured over the specified time period. + + - name: GetRecords_Success.sum + type: long + description: > + The number of successful GetRecords operations per stream, measured over the specified time period. + + - name: IncomingBytes.avg + type: double + description: > + The number of bytes successfully put to the Kinesis stream over the specified time period. This metric includes bytes from PutRecord and PutRecords operations. + + - name: IncomingRecords.avg + type: double + description: > + The number of records successfully put to the Kinesis stream over the specified time period. This metric includes record counts from PutRecord and PutRecords operations. + + - name: PutRecord_Bytes.avg + type: double + description: > + The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period. + + - name: PutRecord_Latency.avg + type: double + description: > + The time taken per PutRecord operation, measured over the specified time period. + + - name: PutRecord_Success.avg + type: double + description: > + The percentage of successful writes to a Kinesis stream, measured over the specified time period. + + - name: PutRecords_Bytes.avg + type: double + description: > + The average number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period. + + - name: PutRecords_Latency.avg + type: double + description: > + The average time taken per PutRecords operation, measured over the specified time period. + + - name: PutRecords_Success.avg + type: long + description: > + The total number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period. + + - name: PutRecords_TotalRecords.sum + type: long + description: > + The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period. + + - name: PutRecords_SuccessfulRecords.sum + type: long + description: > + The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period. + + - name: PutRecords_FailedRecords.sum + type: long + description: > + The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period. + + - name: PutRecords_ThrottledRecords.sum + type: long + description: > + The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period. + + - name: ReadProvisionedThroughputExceeded.avg + type: long + description: > + The number of GetRecords calls throttled for the stream over the specified time period. + + - name: SubscribeToShard_RateExceeded.avg + type: long + description: > + This metric is emitted when a new subscription attempt fails because there already is an active subscription by the same consumer or if you exceed the number of calls per second allowed for this operation. + + - name: SubscribeToShard_Success.avg + type: long + description: > + This metric records whether the SubscribeToShard subscription was successfully established. + + - name: SubscribeToShardEvent_Bytes.avg + type: long + description: > + The number of bytes received from the shard, measured over the specified time period. + + - name: SubscribeToShardEvent_MillisBehindLatest.avg + type: long + description: > + The difference between the current time and when the last record of the SubscribeToShard event was written to the stream. + + - name: SubscribeToShardEvent_Records.sum + type: long + description: > + The number of records received from the shard, measured over the specified time period. + + - name: SubscribeToShardEvent_Success.avg + type: long + description: > + This metric is emitted every time an event is published successfully. It is only emitted when there's an active subscription. + + - name: WriteProvisionedThroughputExceeded.avg + type: long + description: > + The number of records rejected due to throttling for the stream over the specified time period. This metric includes throttling from PutRecord and PutRecords operations. + + - name: cloudwatch + type: group + fields: + - name: namespace + type: keyword + description: The namespace specified when query cloudwatch api. diff --git a/packages/aws/data_stream/kinesis/fields/package-fields.yml b/packages/aws/data_stream/kinesis/fields/package-fields.yml new file mode 100644 index 00000000000..ffe337a68ad --- /dev/null +++ b/packages/aws/data_stream/kinesis/fields/package-fields.yml @@ -0,0 +1,15 @@ +- name: aws + type: group + fields: + - name: tags.* + type: object + description: | + Tag key value pairs from aws resources. + - name: s3.bucket.name + type: keyword + description: | + Name of a S3 bucket. + - name: dimensions.* + type: object + description: | + Metric dimensions. diff --git a/packages/aws/data_stream/kinesis/manifest.yml b/packages/aws/data_stream/kinesis/manifest.yml new file mode 100644 index 00000000000..881420aa748 --- /dev/null +++ b/packages/aws/data_stream/kinesis/manifest.yml @@ -0,0 +1,35 @@ +title: AWS Kinesis metrics +type: metrics +streams: + - input: aws/metrics + vars: + - name: period + type: text + title: Period + multi: false + required: true + show_user: true + default: 5m + - name: regions + type: text + title: Regions + multi: true + required: false + show_user: true + - name: latency + type: text + title: Latency + multi: false + required: false + show_user: false + - name: tags_filter + type: yaml + title: Tags Filter + multi: false + required: false + show_user: false + default: | + # - key: "created-by" + # value: "foo" + title: AWS Kinesis metrics + description: Collect AWS Kinesis metrics diff --git a/packages/aws/data_stream/kinesis/sample_event.json b/packages/aws/data_stream/kinesis/sample_event.json new file mode 100644 index 00000000000..833418c2eb6 --- /dev/null +++ b/packages/aws/data_stream/kinesis/sample_event.json @@ -0,0 +1,72 @@ +{ + "@timestamp": "2017-10-12T08:05:34.853Z", + "agent": { + "name": "docker-fleet-agent", + "id": "24d50340-a9d0-4d5d-9f42-fe9cb4b8c95d", + "type": "metricbeat", + "ephemeral_id": "f8282deb-ebc7-4d1f-9386-207f56657244", + "version": "8.2.0" + }, + "elastic_agent": { + "id": "24d50340-a9d0-4d5d-9f42-fe9cb4b8c95d", + "version": "8.2.0", + "snapshot": false + }, + "aws": { + "cloudwatch": { + "namespace": "AWS/Kinesis" + }, + "dimensions": { + "StreamName": "fb-test" + }, + "kinesis": { + "metrics": { + "GetRecords_Bytes": { + "avg": 0 + }, + "GetRecords_IteratorAgeMilliseconds": { + "avg": 0 + }, + "GetRecords_Latency": { + "avg": 9.46 + }, + "GetRecords_Records": { + "sum": 0 + }, + "GetRecords_Success": { + "sum": 150 + }, + "ReadProvisionedThroughputExceeded": { + "avg": 0 + } + } + } + }, + "cloud": { + "account": { + "id": "428152502467", + "name": "elastic-beats" + }, + "provider": "aws", + "region": "us-west-1" + }, + "data_stream": { + "namespace": "default", + "type": "metrics", + "dataset": "aws.kinesis" + }, + "event": { + "dataset": "aws.kinesis", + "duration": 115000, + "module": "aws", + "agent_id_status": "verified", + "ingested": "2022-05-26T12:44:52Z" + }, + "metricset": { + "name": "kinesis", + "period": 10000 + }, + "service": { + "type": "aws" + } +} \ No newline at end of file diff --git a/packages/aws/docs/README.md b/packages/aws/docs/README.md index dfff4e70fb9..e35b84d1da7 100644 --- a/packages/aws/docs/README.md +++ b/packages/aws/docs/README.md @@ -160,6 +160,7 @@ Visit the page for each individual AWS integration to see details about exported | ECS | x | | | ELB | x | x | | Fargate | x | | +| Kinesis | x | | | Network Firewall | x | x | | Lambda | x | | | NAT Gateway | x | | diff --git a/packages/aws/docs/kinesis.md b/packages/aws/docs/kinesis.md new file mode 100644 index 00000000000..2f06ca1a146 --- /dev/null +++ b/packages/aws/docs/kinesis.md @@ -0,0 +1,164 @@ +# kinesis + +## Metrics + +An example event for `kinesis` looks as following: + +```json +{ + "@timestamp": "2017-10-12T08:05:34.853Z", + "agent": { + "name": "docker-fleet-agent", + "id": "24d50340-a9d0-4d5d-9f42-fe9cb4b8c95d", + "type": "metricbeat", + "ephemeral_id": "f8282deb-ebc7-4d1f-9386-207f56657244", + "version": "8.2.0" + }, + "elastic_agent": { + "id": "24d50340-a9d0-4d5d-9f42-fe9cb4b8c95d", + "version": "8.2.0", + "snapshot": false + }, + "aws": { + "cloudwatch": { + "namespace": "AWS/Kinesis" + }, + "dimensions": { + "StreamName": "fb-test" + }, + "kinesis": { + "metrics": { + "GetRecords_Bytes": { + "avg": 0 + }, + "GetRecords_IteratorAgeMilliseconds": { + "avg": 0 + }, + "GetRecords_Latency": { + "avg": 9.46 + }, + "GetRecords_Records": { + "sum": 0 + }, + "GetRecords_Success": { + "sum": 150 + }, + "ReadProvisionedThroughputExceeded": { + "avg": 0 + } + } + } + }, + "cloud": { + "account": { + "id": "428152502467", + "name": "elastic-beats" + }, + "provider": "aws", + "region": "us-west-1" + }, + "data_stream": { + "namespace": "default", + "type": "metrics", + "dataset": "aws.kinesis" + }, + "event": { + "dataset": "aws.kinesis", + "duration": 115000, + "module": "aws", + "agent_id_status": "verified", + "ingested": "2022-05-26T12:44:52Z" + }, + "metricset": { + "name": "kinesis", + "period": 10000 + }, + "service": { + "type": "aws" + } +} +``` + +**Exported fields** + +| Field | Description | Type | +|---|---|---| +| @timestamp | Event timestamp. | date | +| aws.cloudwatch.namespace | The namespace specified when query cloudwatch api. | keyword | +| aws.dimensions.\* | Metric dimensions. | object | +| aws.dimensions.StreamName | The name of the Kinesis stream. All available statistics are filtered by StreamName. | keyword | +| aws.kinesis.metrics.GetRecords_Bytes.avg | The average number of bytes retrieved from the Kinesis stream, measured over the specified time period. | double | +| aws.kinesis.metrics.GetRecords_IteratorAgeMilliseconds.avg | The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period. Age is the difference between the current time and when the last record of the GetRecords call was written to the stream. | double | +| aws.kinesis.metrics.GetRecords_Latency.avg | The time taken per GetRecords operation, measured over the specified time period. | double | +| aws.kinesis.metrics.GetRecords_Records.sum | The number of records retrieved from the shard, measured over the specified time period. | long | +| aws.kinesis.metrics.GetRecords_Success.sum | The number of successful GetRecords operations per stream, measured over the specified time period. | long | +| aws.kinesis.metrics.IncomingBytes.avg | The number of bytes successfully put to the Kinesis stream over the specified time period. This metric includes bytes from PutRecord and PutRecords operations. | double | +| aws.kinesis.metrics.IncomingRecords.avg | The number of records successfully put to the Kinesis stream over the specified time period. This metric includes record counts from PutRecord and PutRecords operations. | double | +| aws.kinesis.metrics.PutRecord_Bytes.avg | The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period. | double | +| aws.kinesis.metrics.PutRecord_Latency.avg | The time taken per PutRecord operation, measured over the specified time period. | double | +| aws.kinesis.metrics.PutRecord_Success.avg | The percentage of successful writes to a Kinesis stream, measured over the specified time period. | double | +| aws.kinesis.metrics.PutRecords_Bytes.avg | The average number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period. | double | +| aws.kinesis.metrics.PutRecords_FailedRecords.sum | The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period. | long | +| aws.kinesis.metrics.PutRecords_Latency.avg | The average time taken per PutRecords operation, measured over the specified time period. | double | +| aws.kinesis.metrics.PutRecords_Success.avg | The total number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period. | long | +| aws.kinesis.metrics.PutRecords_SuccessfulRecords.sum | The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period. | long | +| aws.kinesis.metrics.PutRecords_ThrottledRecords.sum | The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period. | long | +| aws.kinesis.metrics.PutRecords_TotalRecords.sum | The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period. | long | +| aws.kinesis.metrics.ReadProvisionedThroughputExceeded.avg | The number of GetRecords calls throttled for the stream over the specified time period. | long | +| aws.kinesis.metrics.SubscribeToShardEvent_Bytes.avg | The number of bytes received from the shard, measured over the specified time period. | long | +| aws.kinesis.metrics.SubscribeToShardEvent_MillisBehindLatest.avg | The difference between the current time and when the last record of the SubscribeToShard event was written to the stream. | long | +| aws.kinesis.metrics.SubscribeToShardEvent_Records.sum | The number of records received from the shard, measured over the specified time period. | long | +| aws.kinesis.metrics.SubscribeToShardEvent_Success.avg | This metric is emitted every time an event is published successfully. It is only emitted when there's an active subscription. | long | +| aws.kinesis.metrics.SubscribeToShard_RateExceeded.avg | This metric is emitted when a new subscription attempt fails because there already is an active subscription by the same consumer or if you exceed the number of calls per second allowed for this operation. | long | +| aws.kinesis.metrics.SubscribeToShard_Success.avg | This metric records whether the SubscribeToShard subscription was successfully established. | long | +| aws.kinesis.metrics.WriteProvisionedThroughputExceeded.avg | The number of records rejected due to throttling for the stream over the specified time period. This metric includes throttling from PutRecord and PutRecords operations. | long | +| aws.s3.bucket.name | Name of a S3 bucket. | keyword | +| aws.tags.\* | Tag key value pairs from aws resources. | object | +| cloud | Fields related to the cloud or infrastructure the events are coming from. | group | +| cloud.account.id | The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier. | keyword | +| cloud.account.name | The cloud account name or alias used to identify different entities in a multi-tenant environment. Examples: AWS account name, Google Cloud ORG display name. | keyword | +| cloud.availability_zone | Availability zone in which this host, resource, or service is located. | keyword | +| cloud.image.id | Image ID for the cloud instance. | keyword | +| cloud.instance.id | Instance ID of the host machine. | keyword | +| cloud.instance.name | Instance name of the host machine. | keyword | +| cloud.machine.type | Machine type of the host machine. | keyword | +| cloud.project.id | Name of the project in Google Cloud. | keyword | +| cloud.provider | Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean. | keyword | +| cloud.region | Region in which this host, resource, or service is located. | keyword | +| container.id | Unique container id. | keyword | +| container.image.name | Name of the image the container was built on. | keyword | +| container.labels | Image labels. | object | +| container.name | Container name. | keyword | +| data_stream.dataset | Data stream dataset. | constant_keyword | +| data_stream.namespace | Data stream namespace. | constant_keyword | +| data_stream.type | Data stream type. | constant_keyword | +| ecs.version | ECS version this event conforms to. `ecs.version` is a required field and must exist in all events. When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events. | keyword | +| error | These fields can represent errors of any kind. Use them for errors that happen while fetching events or in cases where the event itself contains an error. | group | +| error.message | Error message. | match_only_text | +| event.dataset | Event dataset | constant_keyword | +| event.module | Event module | constant_keyword | +| host.architecture | Operating system architecture. | keyword | +| host.containerized | If the host is a container. | boolean | +| host.cpu.pct | Percent CPU used. This value is normalized by the number of CPU cores and it ranges from 0 to 1. | scaled_float | +| host.disk.read.bytes | The total number of bytes read successfully in a given period of time. | long | +| host.disk.write.bytes | The total number of bytes write successfully in a given period of time. | long | +| host.domain | Name of the domain of which the host is a member. For example, on Windows this could be the host's Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host's LDAP provider. | keyword | +| host.hostname | Hostname of the host. It normally contains what the `hostname` command returns on the host machine. | keyword | +| host.id | Unique host id. As hostname is not always unique, use values that are meaningful in your environment. Example: The current usage of `beat.name`. | keyword | +| host.ip | Host ip addresses. | ip | +| host.mac | Host mac addresses. | keyword | +| host.name | Name of the host. It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use. | keyword | +| host.network.in.bytes | The number of bytes received on all network interfaces by the host in a given period of time. | long | +| host.network.in.packets | The number of packets received on all network interfaces by the host in a given period of time. | long | +| host.network.out.bytes | The number of bytes sent out on all network interfaces by the host in a given period of time. | long | +| host.network.out.packets | The number of packets sent out on all network interfaces by the host in a given period of time. | long | +| host.os.build | OS build information. | keyword | +| host.os.codename | OS codename, if any. | keyword | +| host.os.family | OS family (such as redhat, debian, freebsd, windows). | keyword | +| host.os.kernel | Operating system kernel version as a raw string. | keyword | +| host.os.name | Operating system name, without the version. | keyword | +| host.os.name.text | Multi-field of `host.os.name`. | text | +| host.os.platform | Operating system platform (such centos, ubuntu, windows). | keyword | +| host.os.version | Operating system version as a raw string. | keyword | +| host.type | Type of host. For Cloud providers this can be the machine type like `t2.medium`. If vm, this could be the container, for example, or other information meaningful in your environment. | keyword | +| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword | diff --git a/packages/aws/img/logo_kinesis.svg b/packages/aws/img/logo_kinesis.svg new file mode 100644 index 00000000000..c848407b742 --- /dev/null +++ b/packages/aws/img/logo_kinesis.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/aws/kibana/dashboard/aws-07d67a60-d872-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/dashboard/aws-07d67a60-d872-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..a7bf91883af --- /dev/null +++ b/packages/aws/kibana/dashboard/aws-07d67a60-d872-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,264 @@ +{ + "attributes": { + "description": "Overview of Amazon Kinesis Metrics", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 5, + "i": "0359194f-01a1-4a5b-8040-c897bdc86638", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "0359194f-01a1-4a5b-8040-c897bdc86638", + "panelRefName": "panel_0359194f-01a1-4a5b-8040-c897bdc86638", + "title": "Filters", + "type": "visualization", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "df2dc50f-c09b-4dcd-96a8-24037c576db3", + "w": 16, + "x": 32, + "y": 5 + }, + "panelIndex": "df2dc50f-c09b-4dcd-96a8-24037c576db3", + "panelRefName": "panel_df2dc50f-c09b-4dcd-96a8-24037c576db3", + "title": "GetRecords Latency", + "type": "lens", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "5f153d11-e84a-4ac5-aec9-4fca79863744", + "w": 16, + "x": 0, + "y": 5 + }, + "panelIndex": "5f153d11-e84a-4ac5-aec9-4fca79863744", + "panelRefName": "panel_5f153d11-e84a-4ac5-aec9-4fca79863744", + "title": "PutRecords Latency", + "type": "lens", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "a7378b79-483c-4e99-97e2-9b49fd9e81da", + "w": 16, + "x": 16, + "y": 5 + }, + "panelIndex": "a7378b79-483c-4e99-97e2-9b49fd9e81da", + "panelRefName": "panel_a7378b79-483c-4e99-97e2-9b49fd9e81da", + "title": "PutRecord Latency", + "type": "lens", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "01a12917-ef1c-47b6-964a-26ef424dd0d3", + "w": 16, + "x": 32, + "y": 20 + }, + "panelIndex": "01a12917-ef1c-47b6-964a-26ef424dd0d3", + "panelRefName": "panel_01a12917-ef1c-47b6-964a-26ef424dd0d3", + "title": "GetRecords Bytes", + "type": "lens", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "7e5774cb-e2e5-4f11-95bc-732ed6600757", + "w": 16, + "x": 0, + "y": 20 + }, + "panelIndex": "7e5774cb-e2e5-4f11-95bc-732ed6600757", + "panelRefName": "panel_7e5774cb-e2e5-4f11-95bc-732ed6600757", + "title": "PutRecords Bytes", + "type": "lens", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "e18e62e5-672a-4939-afe1-68354e76aefc", + "w": 16, + "x": 16, + "y": 20 + }, + "panelIndex": "e18e62e5-672a-4939-afe1-68354e76aefc", + "panelRefName": "panel_e18e62e5-672a-4939-afe1-68354e76aefc", + "title": "PutRecord Bytes", + "type": "lens", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "a1f01da7-4496-4f4e-acc8-9e6efd826f52", + "w": 16, + "x": 32, + "y": 35 + }, + "panelIndex": "a1f01da7-4496-4f4e-acc8-9e6efd826f52", + "panelRefName": "panel_a1f01da7-4496-4f4e-acc8-9e6efd826f52", + "title": "GetRecords Success", + "type": "lens", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "6ddd4401-6625-42b6-9270-9bc17c8408e6", + "w": 16, + "x": 0, + "y": 35 + }, + "panelIndex": "6ddd4401-6625-42b6-9270-9bc17c8408e6", + "panelRefName": "panel_6ddd4401-6625-42b6-9270-9bc17c8408e6", + "title": "PutRecords Success", + "type": "lens", + "version": "7.11.0" + }, + { + "embeddableConfig": { + "enhancements": {}, + "hidePanelTitles": false + }, + "gridData": { + "h": 15, + "i": "fb4e4fb3-91de-46c8-b3f8-ef17ba3c4773", + "w": 16, + "x": 16, + "y": 35 + }, + "panelIndex": "fb4e4fb3-91de-46c8-b3f8-ef17ba3c4773", + "panelRefName": "panel_fb4e4fb3-91de-46c8-b3f8-ef17ba3c4773", + "title": "PutRecord Success", + "type": "lens", + "version": "7.11.0" + } + ], + "timeRestore": false, + "title": "[Metrics AWS] Kinesis Overview", + "version": 1 + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-07d67a60-d872-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "dashboard": "7.14.0" + }, + "references": [ + { + "id": "aws-3c5d7860-d903-11eb-8220-c9141cc1b15c", + "name": "0359194f-01a1-4a5b-8040-c897bdc86638:panel_0359194f-01a1-4a5b-8040-c897bdc86638", + "type": "visualization" + }, + { + "id": "aws-63aa5990-d86f-11eb-8220-c9141cc1b15c", + "name": "df2dc50f-c09b-4dcd-96a8-24037c576db3:panel_df2dc50f-c09b-4dcd-96a8-24037c576db3", + "type": "lens" + }, + { + "id": "aws-9deb6a80-d870-11eb-8220-c9141cc1b15c", + "name": "5f153d11-e84a-4ac5-aec9-4fca79863744:panel_5f153d11-e84a-4ac5-aec9-4fca79863744", + "type": "lens" + }, + { + "id": "aws-2a711450-d871-11eb-8220-c9141cc1b15c", + "name": "a7378b79-483c-4e99-97e2-9b49fd9e81da:panel_a7378b79-483c-4e99-97e2-9b49fd9e81da", + "type": "lens" + }, + { + "id": "aws-d1468000-d86f-11eb-8220-c9141cc1b15c", + "name": "01a12917-ef1c-47b6-964a-26ef424dd0d3:panel_01a12917-ef1c-47b6-964a-26ef424dd0d3", + "type": "lens" + }, + { + "id": "aws-6d631980-d870-11eb-8220-c9141cc1b15c", + "name": "7e5774cb-e2e5-4f11-95bc-732ed6600757:panel_7e5774cb-e2e5-4f11-95bc-732ed6600757", + "type": "lens" + }, + { + "id": "aws-6d631980-d870-11eb-8220-c9141cc1b15c", + "name": "e18e62e5-672a-4939-afe1-68354e76aefc:panel_e18e62e5-672a-4939-afe1-68354e76aefc", + "type": "lens" + }, + { + "id": "aws-79d713c0-d86f-11eb-8220-c9141cc1b15c", + "name": "a1f01da7-4496-4f4e-acc8-9e6efd826f52:panel_a1f01da7-4496-4f4e-acc8-9e6efd826f52", + "type": "lens" + }, + { + "id": "aws-c68d7c30-d870-11eb-8220-c9141cc1b15c", + "name": "6ddd4401-6625-42b6-9270-9bc17c8408e6:panel_6ddd4401-6625-42b6-9270-9bc17c8408e6", + "type": "lens" + }, + { + "id": "aws-56ac2b40-d871-11eb-8220-c9141cc1b15c", + "name": "fb4e4fb3-91de-46c8-b3f8-ef17ba3c4773:panel_fb4e4fb3-91de-46c8-b3f8-ef17ba3c4773", + "type": "lens" + } + ], + "type": "dashboard", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNjMsMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/lens/aws-2a711450-d871-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/lens/aws-2a711450-d871-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..668ec900787 --- /dev/null +++ b/packages/aws/kibana/lens/aws-2a711450-d871-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,125 @@ +{ + "attributes": { + "description": "", + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "fa1d3f51-58b9-4971-a28d-40616cfceb01": { + "columnOrder": [ + "19e03939-49d0-48f7-b76c-d70142001365", + "8c750b7f-30c5-4d35-93f7-dbea0067dca4", + "092aa8e6-3739-49c1-ac6c-ec67956dec97" + ], + "columns": { + "092aa8e6-3739-49c1-ac6c-ec67956dec97": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "PutRecord Latency", + "operationType": "average", + "scale": "ratio", + "sourceField": "aws.kinesis.metrics.PutRecord_Latency.avg" + }, + "19e03939-49d0-48f7-b76c-d70142001365": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "8c750b7f-30c5-4d35-93f7-dbea0067dca4": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of aws.dimensions.StreamName", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "092aa8e6-3739-49c1-ac6c-ec67956dec97", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.dimensions.StreamName" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "092aa8e6-3739-49c1-ac6c-ec67956dec97" + ], + "layerId": "fa1d3f51-58b9-4971-a28d-40616cfceb01", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "8c750b7f-30c5-4d35-93f7-dbea0067dca4", + "xAccessor": "19e03939-49d0-48f7-b76c-d70142001365" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide" + } + }, + "title": "AWS PutRecord Latency [Metrics AWS]", + "visualizationType": "lnsXY" + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-2a711450-d871-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "lens": "7.13.1" + }, + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fa1d3f51-58b9-4971-a28d-40616cfceb01", + "type": "index-pattern" + } + ], + "type": "lens", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNjcsMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/lens/aws-56ac2b40-d871-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/lens/aws-56ac2b40-d871-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..4ce699ba9ca --- /dev/null +++ b/packages/aws/kibana/lens/aws-56ac2b40-d871-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,125 @@ +{ + "attributes": { + "description": "", + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "fa1d3f51-58b9-4971-a28d-40616cfceb01": { + "columnOrder": [ + "19e03939-49d0-48f7-b76c-d70142001365", + "a077ea8a-21dd-4bfe-b146-6d6425f7a14f", + "6117c588-4178-4597-b6da-e0277ec0d410" + ], + "columns": { + "19e03939-49d0-48f7-b76c-d70142001365": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "6117c588-4178-4597-b6da-e0277ec0d410": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "PutRecord Success", + "operationType": "average", + "scale": "ratio", + "sourceField": "aws.kinesis.metrics.PutRecord_Success.avg" + }, + "a077ea8a-21dd-4bfe-b146-6d6425f7a14f": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of aws.dimensions.StreamName", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "6117c588-4178-4597-b6da-e0277ec0d410", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.dimensions.StreamName" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "6117c588-4178-4597-b6da-e0277ec0d410" + ], + "layerId": "fa1d3f51-58b9-4971-a28d-40616cfceb01", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "a077ea8a-21dd-4bfe-b146-6d6425f7a14f", + "xAccessor": "19e03939-49d0-48f7-b76c-d70142001365" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide" + } + }, + "title": "AWS PutRecord Success [Metrics AWS]", + "visualizationType": "lnsXY" + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-56ac2b40-d871-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "lens": "7.13.1" + }, + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fa1d3f51-58b9-4971-a28d-40616cfceb01", + "type": "index-pattern" + } + ], + "type": "lens", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNzIsMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/lens/aws-63aa5990-d86f-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/lens/aws-63aa5990-d86f-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..7802e368c2a --- /dev/null +++ b/packages/aws/kibana/lens/aws-63aa5990-d86f-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,125 @@ +{ + "attributes": { + "description": "", + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "fa1d3f51-58b9-4971-a28d-40616cfceb01": { + "columnOrder": [ + "19e03939-49d0-48f7-b76c-d70142001365", + "8c750b7f-30c5-4d35-93f7-dbea0067dca4", + "092aa8e6-3739-49c1-ac6c-ec67956dec97" + ], + "columns": { + "092aa8e6-3739-49c1-ac6c-ec67956dec97": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "GetRecords Latency", + "operationType": "median", + "scale": "ratio", + "sourceField": "aws.kinesis.metrics.GetRecords_Latency.avg" + }, + "19e03939-49d0-48f7-b76c-d70142001365": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "8c750b7f-30c5-4d35-93f7-dbea0067dca4": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of aws.dimensions.StreamName", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "092aa8e6-3739-49c1-ac6c-ec67956dec97", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.dimensions.StreamName" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "092aa8e6-3739-49c1-ac6c-ec67956dec97" + ], + "layerId": "fa1d3f51-58b9-4971-a28d-40616cfceb01", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "8c750b7f-30c5-4d35-93f7-dbea0067dca4", + "xAccessor": "19e03939-49d0-48f7-b76c-d70142001365" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide" + } + }, + "title": "AWS GetRecords Latency [Metrics AWS]", + "visualizationType": "lnsXY" + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-63aa5990-d86f-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "lens": "7.13.1" + }, + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fa1d3f51-58b9-4971-a28d-40616cfceb01", + "type": "index-pattern" + } + ], + "type": "lens", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNjUsMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/lens/aws-6d631980-d870-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/lens/aws-6d631980-d870-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..70ae606e056 --- /dev/null +++ b/packages/aws/kibana/lens/aws-6d631980-d870-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,125 @@ +{ + "attributes": { + "description": "", + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "fa1d3f51-58b9-4971-a28d-40616cfceb01": { + "columnOrder": [ + "19e03939-49d0-48f7-b76c-d70142001365", + "7cd103e8-3dd3-4fa2-8c13-bc9f80617367", + "36345734-4c23-4815-8a5e-b63c20cac94d" + ], + "columns": { + "19e03939-49d0-48f7-b76c-d70142001365": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "36345734-4c23-4815-8a5e-b63c20cac94d": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "PutRecord Bytes", + "operationType": "average", + "scale": "ratio", + "sourceField": "aws.kinesis.metrics.PutRecords_Bytes.avg" + }, + "7cd103e8-3dd3-4fa2-8c13-bc9f80617367": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of aws.dimensions.StreamName", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "36345734-4c23-4815-8a5e-b63c20cac94d", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.dimensions.StreamName" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "36345734-4c23-4815-8a5e-b63c20cac94d" + ], + "layerId": "fa1d3f51-58b9-4971-a28d-40616cfceb01", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "7cd103e8-3dd3-4fa2-8c13-bc9f80617367", + "xAccessor": "19e03939-49d0-48f7-b76c-d70142001365" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide" + } + }, + "title": "AWS PutRecords Bytes [Metrics AWS]", + "visualizationType": "lnsXY" + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-6d631980-d870-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "lens": "7.13.1" + }, + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fa1d3f51-58b9-4971-a28d-40616cfceb01", + "type": "index-pattern" + } + ], + "type": "lens", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNjksMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/lens/aws-79d713c0-d86f-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/lens/aws-79d713c0-d86f-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..cd6943f3f52 --- /dev/null +++ b/packages/aws/kibana/lens/aws-79d713c0-d86f-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,125 @@ +{ + "attributes": { + "description": "", + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "fa1d3f51-58b9-4971-a28d-40616cfceb01": { + "columnOrder": [ + "19e03939-49d0-48f7-b76c-d70142001365", + "a077ea8a-21dd-4bfe-b146-6d6425f7a14f", + "6117c588-4178-4597-b6da-e0277ec0d410" + ], + "columns": { + "19e03939-49d0-48f7-b76c-d70142001365": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "6117c588-4178-4597-b6da-e0277ec0d410": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "GetRecords Success", + "operationType": "average", + "scale": "ratio", + "sourceField": "aws.kinesis.metrics.GetRecords_Success.sum" + }, + "a077ea8a-21dd-4bfe-b146-6d6425f7a14f": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of aws.dimensions.StreamName", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "6117c588-4178-4597-b6da-e0277ec0d410", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.dimensions.StreamName" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "6117c588-4178-4597-b6da-e0277ec0d410" + ], + "layerId": "fa1d3f51-58b9-4971-a28d-40616cfceb01", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "a077ea8a-21dd-4bfe-b146-6d6425f7a14f", + "xAccessor": "19e03939-49d0-48f7-b76c-d70142001365" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide" + } + }, + "title": "AWS GetRecords Success [Metrics AWS]", + "visualizationType": "lnsXY" + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-79d713c0-d86f-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "lens": "7.13.1" + }, + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fa1d3f51-58b9-4971-a28d-40616cfceb01", + "type": "index-pattern" + } + ], + "type": "lens", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNzAsMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/lens/aws-9deb6a80-d870-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/lens/aws-9deb6a80-d870-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..f2ddf562a3e --- /dev/null +++ b/packages/aws/kibana/lens/aws-9deb6a80-d870-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,125 @@ +{ + "attributes": { + "description": "", + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "fa1d3f51-58b9-4971-a28d-40616cfceb01": { + "columnOrder": [ + "19e03939-49d0-48f7-b76c-d70142001365", + "8c750b7f-30c5-4d35-93f7-dbea0067dca4", + "092aa8e6-3739-49c1-ac6c-ec67956dec97" + ], + "columns": { + "092aa8e6-3739-49c1-ac6c-ec67956dec97": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "PutRecords Latency", + "operationType": "average", + "scale": "ratio", + "sourceField": "aws.kinesis.metrics.PutRecords_Bytes.avg" + }, + "19e03939-49d0-48f7-b76c-d70142001365": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "8c750b7f-30c5-4d35-93f7-dbea0067dca4": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of aws.dimensions.StreamName", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "092aa8e6-3739-49c1-ac6c-ec67956dec97", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.dimensions.StreamName" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "092aa8e6-3739-49c1-ac6c-ec67956dec97" + ], + "layerId": "fa1d3f51-58b9-4971-a28d-40616cfceb01", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "8c750b7f-30c5-4d35-93f7-dbea0067dca4", + "xAccessor": "19e03939-49d0-48f7-b76c-d70142001365" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide" + } + }, + "title": "AWS PutRecords Latency [Metrics AWS]", + "visualizationType": "lnsXY" + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-9deb6a80-d870-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "lens": "7.13.1" + }, + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fa1d3f51-58b9-4971-a28d-40616cfceb01", + "type": "index-pattern" + } + ], + "type": "lens", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNjYsMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/lens/aws-c68d7c30-d870-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/lens/aws-c68d7c30-d870-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..e2205182a92 --- /dev/null +++ b/packages/aws/kibana/lens/aws-c68d7c30-d870-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,125 @@ +{ + "attributes": { + "description": "", + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "fa1d3f51-58b9-4971-a28d-40616cfceb01": { + "columnOrder": [ + "19e03939-49d0-48f7-b76c-d70142001365", + "a077ea8a-21dd-4bfe-b146-6d6425f7a14f", + "6117c588-4178-4597-b6da-e0277ec0d410" + ], + "columns": { + "19e03939-49d0-48f7-b76c-d70142001365": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "6117c588-4178-4597-b6da-e0277ec0d410": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "PutRecords Success", + "operationType": "average", + "scale": "ratio", + "sourceField": "aws.kinesis.metrics.PutRecords_Success.avg" + }, + "a077ea8a-21dd-4bfe-b146-6d6425f7a14f": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of aws.dimensions.StreamName", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "6117c588-4178-4597-b6da-e0277ec0d410", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.dimensions.StreamName" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "6117c588-4178-4597-b6da-e0277ec0d410" + ], + "layerId": "fa1d3f51-58b9-4971-a28d-40616cfceb01", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "a077ea8a-21dd-4bfe-b146-6d6425f7a14f", + "xAccessor": "19e03939-49d0-48f7-b76c-d70142001365" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide" + } + }, + "title": "AWS PutRecords Success [Metrics AWS]", + "visualizationType": "lnsXY" + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-c68d7c30-d870-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "lens": "7.13.1" + }, + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fa1d3f51-58b9-4971-a28d-40616cfceb01", + "type": "index-pattern" + } + ], + "type": "lens", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNzEsMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/lens/aws-d1468000-d86f-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/lens/aws-d1468000-d86f-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..e4239052c2b --- /dev/null +++ b/packages/aws/kibana/lens/aws-d1468000-d86f-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,125 @@ +{ + "attributes": { + "description": "", + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "fa1d3f51-58b9-4971-a28d-40616cfceb01": { + "columnOrder": [ + "19e03939-49d0-48f7-b76c-d70142001365", + "7cd103e8-3dd3-4fa2-8c13-bc9f80617367", + "36345734-4c23-4815-8a5e-b63c20cac94d" + ], + "columns": { + "19e03939-49d0-48f7-b76c-d70142001365": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "36345734-4c23-4815-8a5e-b63c20cac94d": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "GetRecords Bytes", + "operationType": "median", + "scale": "ratio", + "sourceField": "aws.kinesis.metrics.GetRecords_Bytes.avg" + }, + "7cd103e8-3dd3-4fa2-8c13-bc9f80617367": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of aws.dimensions.StreamName", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "36345734-4c23-4815-8a5e-b63c20cac94d", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.dimensions.StreamName" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "36345734-4c23-4815-8a5e-b63c20cac94d" + ], + "layerId": "fa1d3f51-58b9-4971-a28d-40616cfceb01", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "7cd103e8-3dd3-4fa2-8c13-bc9f80617367", + "xAccessor": "19e03939-49d0-48f7-b76c-d70142001365" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide" + } + }, + "title": "AWS GetRecords Bytes [Metrics AWS]", + "visualizationType": "lnsXY" + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-d1468000-d86f-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "lens": "7.13.1" + }, + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fa1d3f51-58b9-4971-a28d-40616cfceb01", + "type": "index-pattern" + } + ], + "type": "lens", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNjgsMV0=" +} \ No newline at end of file diff --git a/packages/aws/kibana/visualization/aws-3c5d7860-d903-11eb-8220-c9141cc1b15c.json b/packages/aws/kibana/visualization/aws-3c5d7860-d903-11eb-8220-c9141cc1b15c.json new file mode 100644 index 00000000000..786186759ce --- /dev/null +++ b/packages/aws/kibana/visualization/aws-3c5d7860-d903-11eb-8220-c9141cc1b15c.json @@ -0,0 +1,79 @@ +{ + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "AWS Kinesis Filter [Metrics AWS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "controls": [ + { + "fieldName": "cloud.region", + "id": "1549397251041", + "indexPatternRefName": "control_0_index_pattern", + "label": "region name", + "options": { + "dynamicOptions": true, + "multiselect": true, + "order": "desc", + "size": 5, + "type": "terms" + }, + "parent": "", + "type": "list" + }, + { + "fieldName": "aws.dimensions.StreamName", + "id": "1624989316975", + "indexPatternRefName": "control_1_index_pattern", + "label": "stream name", + "options": { + "dynamicOptions": true, + "multiselect": true, + "order": "desc", + "size": 5, + "type": "terms" + }, + "parent": "", + "type": "list" + } + ], + "pinFilters": false, + "updateFiltersOnChange": true, + "useTimeFilter": false + }, + "title": "AWS Kinesis Filter [Metrics AWS]", + "type": "input_control_vis" + } + }, + "coreMigrationVersion": "8.0.0", + "id": "aws-3c5d7860-d903-11eb-8220-c9141cc1b15c", + "migrationVersion": { + "visualization": "7.14.0" + }, + "references": [ + { + "id": "metrics-*", + "name": "control_0_index_pattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "control_1_index_pattern", + "type": "index-pattern" + } + ], + "type": "visualization", + "updated_at": "2021-08-04T16:30:30.617Z", + "version": "WzMzNjQsMV0=" +} \ No newline at end of file diff --git a/packages/aws/manifest.yml b/packages/aws/manifest.yml index cced3b277a9..ca993394e09 100644 --- a/packages/aws/manifest.yml +++ b/packages/aws/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: aws title: AWS -version: 1.18.2 +version: 1.19.0 license: basic description: Collect logs and metrics from Amazon Web Services with Elastic Agent. type: integration @@ -613,5 +613,20 @@ policy_templates: title: metricbeat amazon redshift overview size: 2640x2240 type: image/png + - name: kinesis + title: Amazon Kinesis + description: Collect Amazon Kinesis metrics with Elastic Agent + data_streams: + - kinesis + inputs: + - type: aws/metrics + title: Collect Amazon Kinesis metrics + description: Collect Amazon Kinesis metrics using AWS CloudWatch + input_group: metrics + icons: + - src: /img/logo_kinesis.svg + title: Amazon Kinesis logo + size: 33x39 + type: image/svg+xml owner: github: elastic/obs-cloud-monitoring