The updateDefaultQueryPrefix() GraphQL mutation is used to update the default query prefix for a group in LogScale.

There is some mention of query prefixes on the Query Monitor documentation page that you may find helpful.

Syntax

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

graphql
updateDefaultQueryPrefix(
      input: UpdateDefaultQueryPrefixInput!
   ): UpdateDefaultQueryPrefixMutation!

Given Datatypes

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

Table: UpdateDefaultQueryPrefixInput

ParameterTypeRequired[a]DefaultDescription
queryPrefixstring  The prefix of the default query.
groupIdstringyes The unique identifier of the group.

[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.


Returned Datatypes

The returned datatype UpdateDefaultQueryPrefixMutation has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: UpdateDefaultQueryPrefixMutation

ParameterTypeRequired[a]DefaultDescription
groupGroupyes The unassigned group (see Group Table).

[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.