API Stability Short-Term

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!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  logAnalytics ( input: 
    { category: "STRING",
      action: "STRING" }
  )
}

Given Datatypes

For AnalyticsLog, there are a few parameters. Below is a list of them along with a description of each:

Table: AnalyticsLog

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