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

ParameterTypeRequiredDefaultStabilityDescription
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
actionstringyes PreviewThe action to take related to the event.
arguments[string]yes PreviewAny arguments passed for the analytics.
contextstringyes PreviewThe context of the analytics.
eventIdstringyes PreviewThe unique identifier of the event.
featurestring  PreviewOur GraphQL pages are currently under development. This description will be added or changed soon.
features[AnalyticsFeature]yes PreviewOur GraphQL pages are currently under development. This description will be added or changed soon. See AnalyticsFeature.
metricsAnalyticsMetricsyes PreviewThe frames per second to use for the analytics metrics. See AnalyticsMetrics.
routestringyes PreviewOur GraphQL pages are currently under development. This description will be added or changed soon.
systemstringyes PreviewOur GraphQL pages are currently under development. This description will be added or changed soon.
timestamplongyes PreviewThe date and time stamp of the event.
userAgentAnalyticsUserAgentyes PreviewThe browser, device type, and other information for the analytics. See AnalyticsUserAgent.