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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis API endpoint \u003ccode\u003eprojects.locations.instances.queryProductSourceStats\u003c/code\u003e retrieves a list of available product sources and their associated statistics.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003eGET\u003c/code\u003e method directed to a specific Chronicle instance identified by its project, location, and instance details, in the following format: \u003ccode\u003ehttps://chronicle.googleapis.com/v1alpha/{instance}:queryProductSourceStats\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a path parameter, \u003ccode\u003einstance\u003c/code\u003e, which specifies the Chronicle instance, and optionally accepts a \u003ccode\u003etimeRange\u003c/code\u003e query parameter to filter product sources by a specific time interval.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will include a list of \u003ccode\u003eProductSourceStat\u003c/code\u003e objects, each containing the \u003ccode\u003eproduct_source\u003c/code\u003e, the \u003ccode\u003edata_size_bytes\u003c/code\u003e, and a boolean \u003ccode\u003eno_data\u003c/code\u003e flag indicating if data size is an estimation.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this endpoint requires the \u003ccode\u003echronicle.events.queryProductSourceStats\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: instances.queryProductSourceStats\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.QueryProductSourceStatsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [ProductSourceStat](#ProductSourceStat)\n - [JSON representation](#ProductSourceStat.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\n**Full name**: projects.locations.instances.queryProductSourceStats\n\nGets available product sources along with their stats.\n\n### HTTP request\n\nChoose a location: \nafrica-south1 asia-northeast1 asia-south1 asia-southeast1 asia-southeast2 australia-southeast1 europe-west12 europe-west2 europe-west3 europe-west6 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast2 southamerica-east1 us eu \n\n\u003cbr /\u003e\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nReturn list of available log source and their stats.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `instance` resource:\n\n- `chronicle.events.queryProductSourceStats`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs).\n\nProductSourceStat\n-----------------\n\nProduct source and data size for it."]]