The createHumioRepoAction() GraphQL mutation may be used to create a LogScale repository action.

For more information on creating an action, see the Actions documentation page.

Syntax

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

graphql
createHumioRepoAction(
      input: CreateHumioRepoAction!
   ): LogScaleRepoAction!

Given Datatypes

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

Table: CreateHumioRepoAction

ParameterTypeRequired[a]DefaultDescription
viewNamestringyes Name of the view of the action.
namestringyes Name of the action.
ingestTokenstringyes LogScale ingest token for the dataspace into which the action should ingest.

[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 HumioRepoAction has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: HumioRepoAction

ParameterTypeRequired[a]DefaultDescription
ingestTokenstringyes The LogScale ingest token for the dataspace into which the action should ingest.
namestringyes The name of the action.
displayNamestringyes The display name of the action.
idstringyes The unqieu identifier of the action.
yamlTemplateYAMLyes A template that can be used to recreate the action.
packagePackageInstallation  The package, if any, of which the action is part (see PackageInstallation 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.