diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 5a4498e5506f..385478da582e 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -341,6 +341,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Release Zookeeper/connection module as GA. {issue}14281[14281] {pull}17043[17043] - Replace vpc metricset into vpn, transitgateway and natgateway metricsets. {pull}16892[16892] - Release Oracle module as GA. {issue}14279[14279] {pull}16833[16833] +- Release vsphere module as GA. {issue}15798[15798] {pull}17119[17119] +- Add Storage metricsets to GCP module {pull}15598[15598] *Packetbeat* diff --git a/metricbeat/docs/modules/googlecloud.asciidoc b/metricbeat/docs/modules/googlecloud.asciidoc index 4bb492a92911..6daf064b7720 100644 --- a/metricbeat/docs/modules/googlecloud.asciidoc +++ b/metricbeat/docs/modules/googlecloud.asciidoc @@ -101,11 +101,22 @@ metricbeat.modules: - module: googlecloud metricsets: - compute + - pubsub + - loadbalancing zone: "us-central1-a" project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 300s + +- module: googlecloud + metricsets: + - storage + region: "us-central1" + project_id: "your project id" + credentials_file_path: "your JSON credentials file path" + exclude_labels: false + period: 300s ---- [float] @@ -117,7 +128,11 @@ The following metricsets are available: * <> +* <> + include::googlecloud/compute.asciidoc[] include::googlecloud/loadbalancing.asciidoc[] +include::googlecloud/storage.asciidoc[] + diff --git a/metricbeat/docs/modules/googlecloud/storage.asciidoc b/metricbeat/docs/modules/googlecloud/storage.asciidoc new file mode 100644 index 000000000000..86d424599775 --- /dev/null +++ b/metricbeat/docs/modules/googlecloud/storage.asciidoc @@ -0,0 +1,23 @@ +//// +This file is generated! See scripts/mage/docs_collector.go +//// + +[[metricbeat-metricset-googlecloud-storage]] +=== Google Cloud Platform storage metricset + +beta[] + +include::../../../../x-pack/metricbeat/module/googlecloud/storage/_meta/docs.asciidoc[] + + +==== Fields + +For a description of each field in the metricset, see the +<> section. + +Here is an example document generated by this metricset: + +[source,json] +---- +include::../../../../x-pack/metricbeat/module/googlecloud/storage/_meta/data.json[] +---- diff --git a/metricbeat/docs/modules_list.asciidoc b/metricbeat/docs/modules_list.asciidoc index 2bc7fa47acfa..24778c967dbb 100644 --- a/metricbeat/docs/modules_list.asciidoc +++ b/metricbeat/docs/modules_list.asciidoc @@ -109,8 +109,9 @@ This file is generated! See scripts/mage/docs_collector.go .2+| .2+| |<> |<> |<> beta[] |image:./images/icon-yes.png[Prebuilt dashboards are available] | -.2+| .2+| |<> beta[] +.3+| .3+| |<> beta[] |<> beta[] +|<> beta[] |<> |image:./images/icon-no.png[No prebuilt dashboards] | .1+| .1+| |<> |<> |image:./images/icon-yes.png[Prebuilt dashboards are available] | diff --git a/x-pack/metricbeat/metricbeat.reference.yml b/x-pack/metricbeat/metricbeat.reference.yml index 17cebc9c44eb..775a84961416 100644 --- a/x-pack/metricbeat/metricbeat.reference.yml +++ b/x-pack/metricbeat/metricbeat.reference.yml @@ -484,12 +484,23 @@ metricbeat.modules: - module: googlecloud metricsets: - compute + - pubsub + - loadbalancing zone: "us-central1-a" project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 300s +- module: googlecloud + metricsets: + - storage + region: "us-central1" + project_id: "your project id" + credentials_file_path: "your JSON credentials file path" + exclude_labels: false + period: 300s + #------------------------------- Graphite Module ------------------------------- - module: graphite metricsets: ["server"] diff --git a/x-pack/metricbeat/module/googlecloud/_meta/config.yml b/x-pack/metricbeat/module/googlecloud/_meta/config.yml index 6ff566f37b3d..5df057bba18f 100644 --- a/x-pack/metricbeat/module/googlecloud/_meta/config.yml +++ b/x-pack/metricbeat/module/googlecloud/_meta/config.yml @@ -1,8 +1,19 @@ - module: googlecloud metricsets: - compute + - pubsub + - loadbalancing zone: "us-central1-a" project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 300s + +- module: googlecloud + metricsets: + - storage + region: "us-central1" + project_id: "your project id" + credentials_file_path: "your JSON credentials file path" + exclude_labels: false + period: 300s diff --git a/x-pack/metricbeat/module/googlecloud/fields.go b/x-pack/metricbeat/module/googlecloud/fields.go index e726b128b299..827247a0b365 100644 --- a/x-pack/metricbeat/module/googlecloud/fields.go +++ b/x-pack/metricbeat/module/googlecloud/fields.go @@ -19,5 +19,5 @@ func init() { // AssetGooglecloud returns asset data. // This is the base64 encoded gzipped contents of module/googlecloud. func AssetGooglecloud() string { - return "eJzsW0tz2zgSvvtX9M3JVuIc9ubDViWqrSS1ycY1cXJVQWBLwhhEc4CmFc2vnwL4ECmJJGiLSmZKN5uP7q+b6O9rPPQaHnB7CyuilUapKU+uAFixxlu4fh+uwsxfhjsteEk2vb4CsKhROLyFBbK4AkjQSasyVmRu4T9XAADvZ3eQUpJrvAJYKtSJuw03XoMRKbZc3mixQO3CbQDeZngLtPgdJZeXmu83beQO7c2/6stH3909nSKLRLAY9YZV0sW/4LaOMY1/XlKa5YyNx/dT2zazspRnjautxLc+16ywXIXQeGc/mU08yjgWRmLrZpfzLmNNg0tlcSO0Pnigz2if4abxxFKWYTJfbBndXFJu+OjzlS9NZtXxQCuRH42kVJkVBMOVG1hsgdfYF9IhtEzIB+RJwJWmo+HVYy7LJ/kaFh3aR0zmkiy63lgTyhd6f5Adjfb/ebpAC7SEYLV2AmRCtGty7O/6vzsGbxtlzkqrP4W3fiKI9z7pVkj/XwVFaE1SMCYwu/sGvBYMyoHMrUXDegvKeO6qgogD7sQK56zSLlBjcX/zBmFJ1qMt06sMOJRkksPvV49s5R4mGj/i9KU885b8VylK2fuApaW0K4w9OJRNAsY7L7B8/AKUoQ3j8XjNVHg2VjFOnR/vhNEA03CCCkBTZih4GEhRXR5ZR2n0Amg5/0Cb8Fyoye+fYS0cLBAN2NwYZVavYsrDIG/ITlUhEtXjBIJ3UCWFn6JSfDa6ozqC7vSaV+OrNO9pCB0anjp33gfQI9pxqM6Qs35kFRpNIlkILYxULT+n6ks/kUjgXeVgZHu6Zs72S6+7rJ4Bogt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ZoyuhyZstpaL1lFgK8zc1uc7Pb3GzQ+A+ylX8tCtxXrt++xFGgwu3VBIQbHK0eOkc1GcBFuALUKP51QZaYSl2m2qCNLtYbT90dSD90nsr2lzo9yadGvGJzKMx3kbAeH6QNW89xqfFrsDzy1DjLRXS91L+q0L86HTv5+ztKYkHoXAf4+PQZOJPSvg+I9ortnmRIG516//4UXb08ynV6sDxax1vQ5vuFETescblMmKvywh3WJePcUcnlJHKQh3qJ3g9Xg7aQBEIBU+XtWUjQDZK1YcqN4YADrJYod5AW6EinfPPj4rFnWdyFtL9SNEEk4Sqda8vFY+OyEiRGv6CCVG+Vb9NdfmJFu+aZkF6bIxcrwZcOZVaQNzV9tvmGqTVayFjaTFzl/UQG+284nd/BIm81nR3pwZ2mwxswl446GHfB6MIwTl7imYo4jon7spYte/QEe2WamGxqpjdsIXezFF8ntVJQxgFcMmvv4XkjLLwyWSAI21jsUhy9hZTt3vsUudTV7xnMQ63AKMyTLMty6QjIr3S/MllJtC7If5qynioibMW5Rlx2XSH8c/TxfSCXRRDa1IrvnjiZlHWrirCt+IM17P8CAAD//5+zFC8=" } diff --git a/x-pack/metricbeat/module/googlecloud/module.yml b/x-pack/metricbeat/module/googlecloud/module.yml index 6b6704ca08d1..c2915aa8a2b6 100644 --- a/x-pack/metricbeat/module/googlecloud/module.yml +++ b/x-pack/metricbeat/module/googlecloud/module.yml @@ -2,3 +2,4 @@ name: googlecloud metricsets: - compute - loadbalancing +- storage diff --git a/x-pack/metricbeat/module/googlecloud/stackdriver/metadata_services.go b/x-pack/metricbeat/module/googlecloud/stackdriver/metadata_services.go index 91b7dbbaffad..d628ee4b09d5 100644 --- a/x-pack/metricbeat/module/googlecloud/stackdriver/metadata_services.go +++ b/x-pack/metricbeat/module/googlecloud/stackdriver/metadata_services.go @@ -17,7 +17,7 @@ func NewMetadataServiceForConfig(c config) (googlecloud.MetadataService, error) switch c.ServiceName { case googlecloud.ServiceCompute: return compute.NewMetadataService(c.ProjectID, c.Zone, c.Region, c.opt...) - case googlecloud.ServicePubsub, googlecloud.ServiceLoadBalancing: + case googlecloud.ServicePubsub, googlecloud.ServiceLoadBalancing, googlecloud.ServiceStorage: return nil, nil default: return nil, errors.Errorf("service '%s' not supported", c.ServiceName) diff --git a/x-pack/metricbeat/module/googlecloud/stackdriver/metrics_requester.go b/x-pack/metricbeat/module/googlecloud/stackdriver/metrics_requester.go index 1e05f65e04a8..8d2147d285c7 100644 --- a/x-pack/metricbeat/module/googlecloud/stackdriver/metrics_requester.go +++ b/x-pack/metricbeat/module/googlecloud/stackdriver/metrics_requester.go @@ -124,6 +124,12 @@ func (r *stackdriverMetricsRequester) getFilterForMetric(m string) (f string) { switch service { case googlecloud.ServicePubsub, googlecloud.ServiceLoadBalancing: return + case googlecloud.ServiceStorage: + if r.config.Region == "" { + return + } + + f = fmt.Sprintf(`%s AND resource.labels.location = "%s"`, f, r.config.Region) default: if r.config.Region != "" && r.config.Zone != "" { r.logger.Warnf("when region %s and zone %s config parameter "+ diff --git a/x-pack/metricbeat/module/googlecloud/storage/_meta/data.json b/x-pack/metricbeat/module/googlecloud/storage/_meta/data.json new file mode 100644 index 000000000000..773f947a41f6 --- /dev/null +++ b/x-pack/metricbeat/module/googlecloud/storage/_meta/data.json @@ -0,0 +1,55 @@ +{ + "@timestamp": "2020-01-15T19:50:00.000Z", + "@metadata": { + "beat": "metricbeat", + "type": "_doc", + "version": "8.0.0" + }, + "ecs": { + "version": "1.4.0" + }, + "host": { + "name": "mcastro" + }, + "agent": { + "type": "metricbeat", + "ephemeral_id": "b925f861-f858-4aa8-8075-99fc8e86e736", + "hostname": "mcastro", + "id": "7e36a073-1a32-4a94-b65b-4c7f971fb228", + "version": "8.0.0" + }, + "metricset": { + "name": "storage", + "period": 300000 + }, + "googlecloud": { + "labels": { + "metrics": { + "storage_class": "REGIONAL" + }, + "resource": { + "location": "us-central1", + "bucket_name": "test-elastic-metricbeat" + } + }, + "storage": { + "storage": { + "object_count": 1 + } + } + }, + "service": { + "type": "googlecloud" + }, + "cloud": { + "account": { + "id": "elastic-metricbeat" + }, + "provider": "googlecloud" + }, + "event": { + "dataset": "googlecloud.storage", + "module": "googlecloud", + "duration": 818254385 + } +} diff --git a/x-pack/metricbeat/module/googlecloud/storage/_meta/docs.asciidoc b/x-pack/metricbeat/module/googlecloud/storage/_meta/docs.asciidoc new file mode 100644 index 000000000000..4c9ff62e4ae8 --- /dev/null +++ b/x-pack/metricbeat/module/googlecloud/storage/_meta/docs.asciidoc @@ -0,0 +1,18 @@ +Storage Metricset to fetch metrics from https://cloud.google.com/storage/[Storage] in Google Cloud Platform. + +The `storage` Metricset contains all metrics exported from the https://cloud.google.com/monitoring/api/metrics_gcp#gcp-storage[Stackdriver API]. The field names have been left untouched for people already familiar with them. + +You can specify a single region to fetch metrics like `us-central1`. Be aware that GCP Storage does not use zones so `us-central1-a` will return nothing. If no region is specified, it will return metrics from all buckets. + +[float] +=== Fields + +- `storage.api.request_count`: Delta count of API calls, grouped by the API method name and response code. +- `storage.authz.acl_based_object_access_count`: Delta count of requests that result in an object being granted access solely due to object ACLs. +- `storage.authz.acl_operations_count`: Usage of ACL operations broken down by type. +- `storage.authz.object_specific_acl_mutation_count`: Delta count of changes made to object specific ACLs. +- `storage.network.received_bytes_count`: Delta count of bytes received over the network, grouped by the API method name and response code. +- `storage.network.sent_bytes_count`: Delta count of bytes sent over the network, grouped by the API method name and response code. +- `storage.storage.object_count`: Total number of objects per bucket, grouped by storage class. This value is measured once per day, and the value is repeated at each sampling interval throughout the day. +- `storage.storage.total_byte_seconds`: Delta count of bytes received over the network, grouped by the API method name and response code. +- `storage.storage.total_bytes`: Total size of all objects in the bucket, grouped by storage class. This value is measured once per day, and the value is repeated at each sampling interval throughout the day. diff --git a/x-pack/metricbeat/module/googlecloud/storage/_meta/fields.yml b/x-pack/metricbeat/module/googlecloud/storage/_meta/fields.yml new file mode 100644 index 000000000000..71fcb2bdbeb9 --- /dev/null +++ b/x-pack/metricbeat/module/googlecloud/storage/_meta/fields.yml @@ -0,0 +1,44 @@ +- name: storage + release: beta + type: group + description: Google Cloud Storage metrics + fields: + - name: api + type: group + fields: + - name: request_count + type: long + description: Delta count of API calls, grouped by the API method name and response code. + - name: authz + type: group + fields: + - name: acl_based_object_access_count + type: long + description: Delta count of requests that result in an object being granted access solely due to object ACLs. + - name: acl_operations_count + type: long + description: Usage of ACL operations broken down by type. + - name: object_specific_acl_mutation_count + type: long + description: Delta count of changes made to object specific ACLs. + - name: network + type: group + fields: + - name: received_bytes_count + type: long + description: Delta count of bytes received over the network, grouped by the API method name and response code. + - name: sent_bytes_count + type: long + description: Delta count of bytes sent over the network, grouped by the API method name and response code. + - name: storage + type: group + fields: + - name: object_count + type: long + description: Total number of objects per bucket, grouped by storage class. This value is measured once per day, and the value is repeated at each sampling interval throughout the day. + - name: total_byte_seconds + type: long + description: Delta count of bytes received over the network, grouped by the API method name and response code. + - name: total_bytes + type: long + description: Total size of all objects in the bucket, grouped by storage class. This value is measured once per day, and the value is repeated at each sampling interval throughout the day. diff --git a/x-pack/metricbeat/module/googlecloud/storage/manifest.yml b/x-pack/metricbeat/module/googlecloud/storage/manifest.yml new file mode 100644 index 000000000000..f462867dcb58 --- /dev/null +++ b/x-pack/metricbeat/module/googlecloud/storage/manifest.yml @@ -0,0 +1,17 @@ +default: false +input: + module: googlecloud + metricset: stackdriver + defaults: + stackdriver: + service: storage + metrics: + - "storage.googleapis.com/api/request_count" + - "storage.googleapis.com/authz/acl_based_object_access_count" + - "storage.googleapis.com/authz/acl_operations_count" + - "storage.googleapis.com/authz/object_specific_acl_mutation_count" + - "storage.googleapis.com/network/received_bytes_count" + - "storage.googleapis.com/network/sent_bytes_count" + - "storage.googleapis.com/storage/object_count" + - "storage.googleapis.com/storage/total_byte_seconds" + - "storage.googleapis.com/storage/total_bytes" diff --git a/x-pack/metricbeat/modules.d/googlecloud.yml.disabled b/x-pack/metricbeat/modules.d/googlecloud.yml.disabled index fc4334b235ea..01898897cd6e 100644 --- a/x-pack/metricbeat/modules.d/googlecloud.yml.disabled +++ b/x-pack/metricbeat/modules.d/googlecloud.yml.disabled @@ -4,8 +4,19 @@ - module: googlecloud metricsets: - compute + - pubsub + - loadbalancing zone: "us-central1-a" project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 300s + +- module: googlecloud + metricsets: + - storage + region: "us-central1" + project_id: "your project id" + credentials_file_path: "your JSON credentials file path" + exclude_labels: false + period: 300s