library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
metric_namestringYesThe name of the logging metric.-
descriptionstringYesThe description of the logging metric.-
log_filterstringYesThe log filter for the logging metric.-

Outputs

NameDescription
logging_metric_infoInformation about the created logging metric.