library
turbot/gcp
Get Involved
Version
Pipeline: Create Logging Metric
This pipeline creates a logging metric in Google Cloud.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.create_logging_metric \ --arg 'project_id=<string>' \ --arg 'metric_name=<string>' \ --arg 'description=<string>' \ --arg 'log_filter=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.create_logging_metric args = { project_id = <string> metric_name = <string> description = <string> log_filter = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
metric_name | string | Yes | The name of the logging metric. | - |
description | string | Yes | The description of the logging metric. | - |
log_filter | string | Yes | The log filter for the logging metric. | - |
Outputs
Name | Description |
---|---|
logging_metric_info | Information about the created logging metric. |