API Stability Long-Term

The updateCustomLinkInteraction() GraphQL mutation may be used to update a custom link interaction in LogScale.

Syntax

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

graphql
updateCustomLinkInteraction(
      input: UpdateCustomLinkInteractionInput!
   ): InteractionId!

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

Show:
graphql
mutation {
  updateCustomLinkInteraction( input:
    {
      path: "humio",
      interactionId: "abc123",
      customLinkInteractionInput: { name: "our-link",
                                    urlTemplate: "https://company.com?q={{ fields.myField }}",
                                    openInNewTab: false }
    }
  )
  { id }
}
Example Responses
Show:
json
{
  "updateCustomLinkInteraction": {
    "id": "abc123"
    }
  }
}

Given Datatypes

For UpdateCustomLinkInteractionInput, there are a few parameters. Below is a list of them along with a description of each:

Table: UpdateCustomLinkInteractionInput

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 23, 2024
customLinkInteractionInputCustomLinkInteractionInputyes  The custom link for interactions. See CustomLinkInteractionInput.
interactionIdstringyes  The unique identifier of the interactions.
pathstringyes  The path to the custom link.

Returned Datatypes

The returned datatype InteractionId has one parameter. Below is a description of it:

Table: InteractionId

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 25, 2024
idstringyes Long-TermThe unique identifier for the interaction.