Method: logProcessingPipelines.testPipeline

Full name: projects.locations.instances.logProcessingPipelines.testPipeline

logProcessingPipelines.testPipeline previews processed logs for a given log processing pipeline for a given input sample logs.

HTTP request


Path parameters

Parameters
parent

string

Required. The parent resource of the pipeline to preview processed logs for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "logProcessingPipeline": {
    object (LogProcessingPipeline)
  },
  "inputLogs": [
    {
      object (Log)
    }
  ]
}
Fields
logProcessingPipeline

object (LogProcessingPipeline)

Required. The LogProcessingPipeline to test.

inputLogs[]

object (Log)

Required. The logs to preview processed logs for. These are the logs that will be sent to the pipeline for processing.

Response body

Response message for logProcessingPipelines.testPipeline.

If successful, the response body contains data with the following structure:

JSON representation
{
  "logs": [
    {
      object (Log)
    }
  ]
}
Fields
logs[]

object (Log)

Resultant, processed logs after execution of log processing pipeline.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.