Full name: projects.locations.instances.logTypes.parsers.activate
parsers.activate switches the customer to use requested parser, This will set the Parser state to ACTIVE. This method prevents parser activation when the customer: 1. Is currently using a Custom parser, but wants to activate a Prebuilt release parser - parsers.deactivate is the preferred method here. 2. Wants to activate a Prebuilt release_candidate parser. - parsers.activateReleaseCandidateParser is the preferred method here.
HTTP request
Path parameters
Parameters
name
string
Required. The name of the parser to activate. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{logtype}/parsers/{parser}
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eprojects.locations.instances.logTypes.parsers.activate\u003c/code\u003e method, which switches a customer to a requested parser and sets its state to ACTIVE.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to activate a parser is a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL, including the parser's name in the path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for activating a parser must be empty, while a successful response will also contain an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eActivating a parser requires the \u003ccode\u003echronicle.parsers.activate\u003c/code\u003e IAM permission on the specified resource, and the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe method has conditions on its use, not to activate prebuilt parsers, or release candidate parsers.\u003c/p\u003e\n"]]],[],null,["# Method: parsers.activate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\n**Full name**: projects.locations.instances.logTypes.parsers.activate\n\nparsers.activate switches the customer to use requested parser, This will set the Parser state to ACTIVE. This method prevents parser activation when the customer: 1. Is currently using a Custom parser, but wants to activate a Prebuilt release parser - parsers.deactivate is the preferred method here. 2. Wants to activate a Prebuilt release_candidate parser. - parsers.activateReleaseCandidateParser is the preferred method here.\n\n### HTTP request\n\nChoose a location: \nafrica-south1 asia-northeast1 asia-south1 asia-southeast1 asia-southeast2 australia-southeast1 europe-west12 europe-west2 europe-west3 europe-west6 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast2 southamerica-east1 us eu \n\n\u003cbr /\u003e\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `chronicle.parsers.activate`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]