- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- LogsInlineSource
- Try it!
Full name: projects.locations.instances.logTypes.logs.import
Import log telemetry.
HTTP request
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent, which owns this collection of logs. | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "hint": string, // Union field | 
| Fields | |
|---|---|
| hint | 
 Optional. Opaque hint to help parsing the log. | 
| Union field  
 | |
| inlineSource | 
 Required. Logs to be imported are specified inline. | 
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
- chronicle.logs.import
For more information, see the IAM documentation.
LogsInlineSource
A import source with the logs to import included inline.
| JSON representation | 
|---|
| {
  "logs": [
    {
      object ( | 
| Fields | |
|---|---|
| logs[] | 
 Required. The logs being imported. | 
| forwarder | 
 Optional. The forwarder sending this import request. | 
| sourceFilename | 
 Optional. Source file name. Populated for certain types of files processed by the outofband processor which may have metadata encoded in it for use by the parser. |