Method: dataExports.fetchavailablelogtypes

Full name: projects.locations.instances.dataExports.fetchavailablelogtypes

Fetches available log types for export.

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{parent}/dataExports:fetchavailablelogtypes

Path parameters

Parameters
parent

string

Required. The parent resource for which log type details are to be fetched. Format: projects/{project}/locations/{region}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "start_time": string,
  "end_time": string,
  "page_size": integer,
  "page_token": string
}
Fields
start_time

string (Timestamp format)

Required. Start, inclusive time from the range.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

end_time

string (Timestamp format)

Required. Last, exclusive time from the range.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

page_size

integer

Optional. The maximum number of results to return.

page_token

string

Optional. A page token to retrieve the subsequent page.

Response body

Response message for ListAvailableLogTypes.

If successful, the response body contains data with the following structure:

JSON representation
{
  "available_log_types": [
    {
      object (AvailableLogType)
    }
  ],
  "next_page_token": string
}
Fields
available_log_types[]

object (AvailableLogType)

Output only. Represents log type to the time range where this log type is available.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page.

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.dataExports.fetchLogTypesAvailableForExport

For more information, see the IAM documentation.

AvailableLogType

Represents information about an available log type.

JSON representation
{
  "log_type": string,
  "start_time": string,
  "end_time": string
}
Fields
log_type

string

Type of the logs.

start_time

string (Timestamp format)

Start, inclusive time from the range.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

end_time

string (Timestamp format)

Last, exclusive time from the range.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".