API Stability Long-Term

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!
   ): HumioRepoAction!

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

Show:
graphql
mutation {
  createHumioRepoAction(input:
       { viewName: "humio"
         name: "acting-up",
         ingestToken: "test-token" } )
  { id }
}
Example Responses
Show:
json
{
  "data": {
    "createHumioRepoAction": {
      "id": "OSksqpeh1oaZLoJr3ulQlNR3mv19OlCo"
    }
  }
}

Given Datatypes

For createHumioRepoAction(), there are a few parameters that may be given. Below is a list of them along with a description of each:

Table: CreateHumioRepoAction

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
ingestTokenstringyes Long-TermLogScale ingest token for the dataspace into which the action should ingest.
namestringyes Long-TermName of the action.
viewNamestringyes Long-TermName of the view of the action.

Returned Datatypes

For HumioRepoAction, there are several parameters. Below is a list of them:

Table: HumioRepoAction

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: Mar 26, 2025
allowedActions[AssetAction]yes PreviewThe allowed asset actions. This is a preview and may change. See AssetAction.
displayNamestringyes Long-TermThe display name of the action.
idstringyes Long-TermThe unique identifier of the action.
ingestTokenstringyes Long-TermThe LogScale ingest token for the dataspace into which the action should ingest.
isAllowedToRunbooleanyes Long-TermWhether this type of action is allowed.
namestringyes Long-TermThe name of the action.
packagePackageInstallation  Long-TermThe package, if any, of which the action is part (see PackageInstallation Table).
packageIdVersionedPackageSpecifier  Long-TermThe unique identifier of the package used. VersionedPackageSpecifier is a scalar.
requiresOrganizationOwnedQueriesPermissionToEditbooleanyes Long-TermWhether this action is used by triggers, where the query is run by the organization. The OrganizationOwnedQueries permission is required to edit the action.
resourcestringyes Short-TermThe resource identifier for the action.
yamlTemplateyamlyes Long-TermA template that can be used to recreate the action.