- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ProductSourceStat
- Try it!
Full name: projects.locations.instances.queryProductSourceStats
Gets available product sources along with their stats.
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{instance}:queryProductSourceStats
Path parameters
Parameters | |
---|---|
instance |
Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
timeRange |
Optional. Time range for finding product sources [inclusive start time, exclusive end time). If not povided, returns log sources for all retained logs. |
Request body
The request body must be empty.
Response body
Return list of available log source and their stats.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"product_source_stats": [
{
object ( |
Fields | |
---|---|
product_source_stats[] |
Amount of data per log source. |
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.events.queryProductSourceStats
For more information, see the IAM documentation.
ProductSourceStat
Product source and data size for it.
JSON representation |
---|
{ "product_source": string, "data_size_bytes": string, "no_data": boolean } |
Fields | |
---|---|
product_source |
Product source. |
data_size_bytes |
Data size in bytes for specific product sources. |
no_data |
If there is no estimation data. By default it is false. |