Full name: projects.locations.instances.logTypes.logs.import
Import log telemetry.
HTTP request
POST https://chronicle.googleapis.com/v1alpha/{parent}/logs:import
Path parameters
Parameters
parent
string
Required. Resource name of the parent that owns this collection of logs.
Request body
The request body contains data with the following structure:
JSON representation
{"hint": string,// Union field source can be only one of the following:"inline_source": {object (LogsInlineSource)}// End of list of possible types for union field source.}
Optional. Source file name. Populated for certain types of files processed by the out-of-band processor, which may contain metadata used by the parser.
[[["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-07-14 UTC."],[[["\u003cp\u003eThis webpage describes how to import log telemetry using the \u003ccode\u003eprojects.locations.instances.logTypes.logs.import\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003ePOST\u003c/code\u003e method to the endpoint \u003ccode\u003ehttps://chronicle.googleapis.com/v1alpha/{parent}/logs:import\u003c/code\u003e, where \u003ccode\u003eparent\u003c/code\u003e is a required path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body can contain an optional \u003ccode\u003ehint\u003c/code\u003e and must specify the logs to be imported through the required \u003ccode\u003einline_source\u003c/code\u003e, referencing the \u003ccode\u003eLogsInlineSource\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogsInlineSource\u003c/code\u003e requires a list of \u003ccode\u003elogs\u003c/code\u003e, a \u003ccode\u003eforwarder\u003c/code\u003e and an optional \u003ccode\u003esource_filename\u003c/code\u003e to complete the import request.\u003c/p\u003e\n"],["\u003cp\u003eTo use this method, you need the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003echronicle.logs.import\u003c/code\u003e on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]