- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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 |
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_ |
Total number of log lines ingested |
batch_ |
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.