The logAnalytics() GraphQL mutation is used to log actions in the LogScale user interface.

For information on auditing logs of user actions, see the Audit Logging documentation page.

Syntax

Below is the syntax for the logAnalytics() mutation field:

graphql
logAnalytics(
     input: AnalyticsLog!
   ): boolean!

Given Datatypes

For the given datatype, AnalyticsLog, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: AnalyticsLog

ParameterTypeRequiredDefaultDescription
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 The action to take related to the analytics log.
categorystringyes The category associated with the analytics log.
messagestring  The message related to the action.