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