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 |
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 ( |
Fields | |
---|---|
logProcessingPipeline |
Required. The LogProcessingPipeline to test. |
inputLogs[] |
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 ( |
Fields | |
---|---|
logs[] |
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.