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.


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

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

categorystringyes The category associated with the analytics log.
actionstringyes The action to take related to the analytics log.
messagestring  The message related to the action.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.