Method: legacy.legacySearchIngestionStats

Full name: projects.locations.instances.legacy.legacySearchIngestionStats

LegacySearchIngestionStats gets data ingestion stats about a given customer, e.g. total log lines or bytes ingested.

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{instance}/legacy:legacySearchIngestionStats

Path parameters

Parameters
instance

string

Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body must be empty.

Response body

LegacySearchIngestionStatsResponse contains overall ingestion stats (e.g. total bytes ingested)

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

JSON representation
{
  "log_entries": string,
  "batch_bytes": string
}
Fields
log_entries

string (int64 format)

Total number of log lines ingested

batch_bytes

string (int64 format)

Total bytes ingested

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 instance resource:

  • chronicle.legacies.legacySearchIngestionStats

For more information, see the IAM documentation.