Method: legacy.legacySearchIngestionStats

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

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

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacy:legacySearchIngestionStats

Path parameters

Parameters
instance

string

Required. The name of the parent resource, which is the SecOps 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
{
  "logEntries": string,
  "batchBytes": string
}
Fields
logEntries

string (int64 format)

Total number of log lines ingested

batchBytes

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.