Splunk® Supported Add-ons

Splunk Add-on for Google Cloud Platform

Acrobat logo Download manual as PDF


Acrobat logo Download topic as PDF

REST API reference

Cloud Resource Metadata REST API reference

Collect Google Cloud Platform cloud resource metadata from the following APIs.

Resources Description API endpoint
Instances Lists currently alive Instances in given zone. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instances
Accelerator Types Lists GPU(s) available for the project in given zone. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/acceleratorTypes
Autoscalers Lists instance groups with autoscaling capabilities. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/autoscalers
Disk Types Lists Disk types available for the project in the given zone. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/diskTypes
Disks Lists disks in the given region. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/disks
Managed Instance Groups Lists managed instance groups. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers
Instance Groups Lists unmanaged instance groups. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instanceGroups
Machine Types Lists types of machines available for the project in the given zone. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/machineTypes
Network Endpoint Groups Lists Network Endpoint Group for the given zone. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups
Node Groups Lists node groups for the given zone. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/nodeGroups
Node Types Lists types of nodes available for the project in given zone. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/nodeTypes
Reservations Lists reservations made. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/reservations
Target Instance Lists target instances. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/targetInstances
Operation Resources Lists operation for the given account for the day for selected zones. GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/operations

projects/{project}/zones/{zone}/instances

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instances


GET

Lists currently alive Instances in given zone.

Request parameters
None

Returned values
Lists currently alive Instances in given zone.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instances

projects/{project}/zones/{zone}/acceleratorTypes

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/acceleratorTypes


GET

Lists GPU(s) available for the project in given zone.

Request parameters
None

Returned values
Lists GPU(s) available for the project in given zone.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/acceleratorTypes

projects/{project}/zones/{zone}/autoscalers

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/autoscalers


GET

Lists instance groups with autoscaling capabilities.

Request parameters
None

Returned values
Lists instance groups with autoscaling capabilities.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/autoscalers


projects/{project}/zones/{zone}/diskTypes

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/diskTypes


GET

Lists Disk types available for the project in the given zone.

Request parameters
None

Returned values
Lists Disk types available for the project in the given zone.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/diskTypes

projects/{project}/zones/{zone}/disks

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/disks


GET

Lists disks in the given region.

Request parameters
None

Returned values
Lists disks in the given region.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/disks

projects/{project}/zones/{zone}/instanceGroupManagers

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers


GET

Lists managed instance groups.

Request parameters
None

Returned values
Lists managed instance groups.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers

projects/{project}/zones/{zone}/instanceGroups

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instanceGroups


GET

Lists unmanaged instance groups.

Request parameters
None

Returned values
Lists unmanaged instance groups.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instanceGroups


projects/{project}/zones/{zone}/machineTypes

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/machineTypes


GET

Lists types of machines available for the project in the given zone.

Request parameters
None

Returned values
Lists types of machines available for the project in the given zone.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/machineTypes

projects/{project}/zones/{zone}/networkEndpointGroups

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups


GET

Lists Network Endpoint Group for the given zone.

Request parameters
None

Returned values
Lists Network Endpoint Group for the given zone.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups

projects/{project}/zones/{zone}/nodeGroups

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/nodeGroups


GET

Lists node groups for the given zone.

Request parameters
None

Returned values
Lists node groups for the given zone.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/nodeGroups

projects/{project}/zones/{zone}/nodeTypes

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/nodeTypes


GET

Lists types of nodes available for the project in given zone.

Request parameters
None

Returned values
Lists types of nodes available for the project in given zone.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/nodeTypes

projects/{project}/zones/{zone}/reservations

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/reservations


GET

Lists reservations made.

Request parameters
None

Returned values
Lists reservations made.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/reservations

projects/{project}/zones/{zone}/targetInstances

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/targetInstances


GET

Lists target instances.

Request parameters
None

Returned values
Lists target instances.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/targetInstances


projects/{project}/zones/{zone}/operations

https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/operations


GET

Lists operation for the given account for the day for selected zones.

Request parameters
None

Returned values
Lists operation for the given account for the day for selected zones.

Example request

curl —k u admin:password https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/operations

Last modified on 08 September, 2021
PREVIOUS
Performance reference for the Splunk Add-on for Google Cloud Platform
 

This documentation applies to the following versions of Splunk® Supported Add-ons: released


Was this documentation topic helpful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters