This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Google Cloud Platform pubsub metricset
editGoogle Cloud Platform pubsub metricset
editPubSub metricsetf fetches metrics from Pub/Sub topics and subscriptions in Google Cloud Platform.
The pubsub
metricset contains all GA stage metrics exported from the Stackdriver API. The field names are aligned to Beats naming conventions with minor modifications to their GCP metrics name counterpart.
No special permissions are needed apart from the ones detailed in the module section of the docs.
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{ "@timestamp": "2017-10-12T08:05:34.853Z", "cloud": { "account": { "id": "elastic-observability" }, "provider": "gcp" }, "event": { "dataset": "gcp.pubsub", "duration": 115000, "module": "gcp" }, "gcp": { "labels": { "resource": { "subscription_id": "test-subscription-1" } }, "pubsub": { "subscription": { "backlog_bytes": { "value": 0 } } } }, "metricset": { "name": "pubsub", "period": 10000 }, "service": { "type": "gcp" } }