The killQuery() GraphQL mutation may be used to kill a running query in LogScale.

For more information on queries, see the Query Language Syntax reference page. You may also want to look at Live Queries.

Syntax

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

graphql
killQuery(
     viewName: string!
     pattern: string!
   ): BooleanResultType!

Returned Datatype

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

Table: BooleanResultType

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.
resultsbooleanyes Whether the mutation was performed.