Optional. Flag whether the Statedump filter is enabled or not for a config. If enabled, the intermediate state of the parsing will be returned as part of the output. Useful for debugging purposes.
continueOnError
boolean
Optional.
Response body
Response message for logTypes.runParser.
If successful, the response body contains data with the following structure:
{"log": string,"statedumpResults": [{object (StatedumpResult)}],"parsedFields": {object},"failedFieldsAndErrors": {object},// Union field result can be only one of the following:"parsedEvents": {object (ParsedEvents)},"error": {object (Status)}// End of list of possible types for union field result.}
EventInfo is a wrapper containing a UDM or Entity.
JSON representation
{// Union field event_info can be only one of the following:"event": {object (UDM)},"entity": {object (Entity)}// End of list of possible types for union field event_info.}
[[["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 page details how to use the \u003ccode\u003erunParser\u003c/code\u003e method to run a parser against a log, retrieving normalized events or any errors encountered.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erunParser\u003c/code\u003e method is accessed via an HTTP POST request to a specific endpoint with a required \u003ccode\u003elogtype\u003c/code\u003e path parameter, indicating the parser or parser extension to use.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a JSON object specifying the parser, optional parser extension, sample logs, and an optional flag to enable intermediate state debugging.\u003c/p\u003e\n"],["\u003cp\u003eThe response body, if successful, contains an array of \u003ccode\u003eParserLogResult\u003c/code\u003e objects, each containing the original log, potentially \u003ccode\u003eStatedumpResult\u003c/code\u003e objects, and either \u003ccode\u003eParsedEvents\u003c/code\u003e or an \u003ccode\u003eerror\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIAM Permissions are required in order to perform this task, you need to have \u003ccode\u003echronicle.parsers.runParser\u003c/code\u003e permission on the \u003ccode\u003elogtype\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,["# Method: logTypes.runParser\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RunParserResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [ParserLogResult](#ParserLogResult)\n - [JSON representation](#ParserLogResult.SCHEMA_REPRESENTATION)\n- [ParsedEvents](#ParsedEvents)\n - [JSON representation](#ParsedEvents.SCHEMA_REPRESENTATION)\n- [ParsedEvent](#ParsedEvent)\n - [JSON representation](#ParsedEvent.SCHEMA_REPRESENTATION)\n- [StatedumpResult](#StatedumpResult)\n - [JSON representation](#StatedumpResult.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\n**Full name**: projects.locations.instances.logTypes.runParser\n\nlogTypes.runParser runs the parser against a log and returns normalized events or any error that occurred during the normalization.\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 contains data with the following structure:\n\n### Response body\n\nResponse message for logTypes.runParser.\n\nIf successful, the response body contains data with the following structure:\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 `logtype` resource:\n\n- `chronicle.parsers.runParser`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs).\n\nParserLogResult\n---------------\n\nResult generated when normalizing a log.\n\nParsedEvents\n------------\n\nNormalized events generated from a log.\n\nParsedEvent\n-----------\n\nEventInfo is a wrapper containing a UDM or Entity.\n\nStatedumpResult\n---------------\n\nStatedumpResult represents statedump filter output generated from a log."]]