- 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
POST https://chronicle.googleapis.com/v1alpha/{parent}/logs:import
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
|
|
inline_source |
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 |
Required. The forwarder sending this import request. |
source_filename |
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. |