- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Analytic
- Try it!
Full name: projects.locations.instances.analytics.list
Lists all supported analytics for APIs which can filter by analytic type, such as ListAnalyticValues. Some examples of analytic types are NETWORK_BYTES_OUTBOUND, AUTH_ATTEMPTS_FAIL, and DNS_QUERIES_TOTAL.
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{parent}/analytics
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of Analytics. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of analytic types to return. The service may return fewer than this value. |
pageToken |
Optional. A page token, received from a previous |
Request body
The request body must be empty.
Response body
Response message for ListAnalytics.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"analytics": [
{
object ( |
Fields | |
---|---|
analytics[] |
List of Analytics returned by the API. |
next_page_token |
A token, which can be sent as |
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 parent
resource:
chronicle.analytics.list
For more information, see the IAM documentation.
Analytic
An Analytic indicates a type of analytic that is available to be queried by ListAnalyticValues.
JSON representation |
---|
{ "name": string, "display_phrase": string } |
Fields | |
---|---|
name |
Identifier. The resource name. Format: "projects/{project}/locations/{location}/instances/{instance}/analytics/{analytic}" |
display_phrase |
Output only. The analytic. This mostly follows the backstory.Metric.MetricName enum, but uses string for flexibility. |