API Stability |
Preview
|
The logAnalyticsBatch() GraphQL mutation is used to log actions in the LogScale user interface in batches.
For information on auditing logs of user actions, see the Audit Logging documentation page.
Syntax
Below is the syntax for the logAnalyticsBatch() mutation field:
graphql
logAnalyticsBatch(
input: [AnalyticsLogWithTimestamp!]!
): boolean!
Given Datatypes
For AnalyticsLogWithTimestamp, there are several parameters that may be given in a comma-separated list. Below is a list of them along with a description of each:
Table: AnalyticsLogWithTimestamp
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Sep 17, 2024 | |||||
action | string | yes | Preview | The action to take related to the event. | |
arguments | [string] | yes | Preview | Any arguments passed for the analytics. | |
context | string | yes | Preview | The context of the analytics. | |
eventId | string | yes | Preview | The unique identifier of the event. | |
feature | string | Preview | Our GraphQL pages are currently under development. This description will be added or changed soon. | ||
features | [AnalyticsFeature ] | yes | Preview | Our GraphQL pages are currently under development. This description will be added or changed soon. See AnalyticsFeature . | |
metrics | AnalyticsMetrics | yes | Preview | The frames per second to use for the analytics metrics. See AnalyticsMetrics . | |
route | string | yes | Preview | Our GraphQL pages are currently under development. This description will be added or changed soon. | |
system | string | yes | Preview | Our GraphQL pages are currently under development. This description will be added or changed soon. | |
timestamp | long | yes | Preview | The date and time stamp of the event. | |
userAgent | AnalyticsUserAgent | yes | Preview | The browser, device type, and other information for the analytics. See AnalyticsUserAgent . |