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:
graphql
mutation {
createHumioRepoAction(input:
{ viewName: "humio"
name: "acting-up",
ingestToken: "test-token" } )
{ id }
}
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
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
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 | |||||
ingestToken | string | yes | Long-Term | LogScale ingest token for the dataspace into which the action should ingest. | |
name | string | yes | Long-Term | Name of the action. | |
viewName | string | yes | Long-Term | Name of the view of the action. |
Returned Datatypes
For HumioRepoAction
,
there are several parameters. Below is a list of them:
Table: HumioRepoAction
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
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 | Preview | The allowed asset actions. This is a preview and may change. See AssetAction . | |
displayName | string | yes | Long-Term | The display name of the action. | |
id | string | yes | Long-Term | The unique identifier of the action. | |
ingestToken | string | yes | Long-Term | The LogScale ingest token for the dataspace into which the action should ingest. | |
isAllowedToRun | boolean | yes | Long-Term | Whether this type of action is allowed. | |
name | string | yes | Long-Term | The name of the action. | |
package | PackageInstallation | Long-Term | The package, if any, of which the action is part (see PackageInstallation Table). | ||
packageId | VersionedPackageSpecifier | Long-Term | The unique identifier of the package used. VersionedPackageSpecifier is a scalar. | ||
requiresOrganizationOwnedQueriesPermissionToEdit | boolean | yes | Long-Term | Whether this action is used by triggers, where the query is run by the organization. The OrganizationOwnedQueries permission is required to edit the action. | |
resource | string | yes | Short-Term | The resource identifier for the action. | |
yamlTemplate | yaml | yes | Long-Term | A template that can be used to recreate the action. |