Creating Actions

Security Requirements and Controls

The Actions page is where actions are created.

To create a new action:

  1. Go to the Repository and Views page.

  2. Select a Repository or View for which you want to configure an Action.

  3. Click the Automation tab on the top bar

  4. Select Action+New Action.

  5. In the New actiondialog, enter a name for the action and choose how to create it:

    • Empty action creates a new empty action from scratch: the New action dialog is displayed, name it and then click Continue :

      Creating an Empty Action Dialog

      Figure 195. Creating an Empty Action Dialog

      In the properties' form, select the Action Type to create — Webhook for example. Until the action is not saved, the type is set and you can edit and update the action across the different types.

      Creating an Empty Action Type

      Figure 196. Creating an Empty Action Type

    • From template based on an existing action template. Use an existing template or upload a template that you have previously exported, then click Continue:

      Creating an Action from a Template File

      Figure 197. Creating an Action from a Template File

      When creating an action from an existing template, the dialog for the corresponding action type will be shown and cannot be changed. See the corresponding action types for information on the supported configuration parameters.

    • From package based on an existing action templates that are part of an installed LogScale package, then click Create action:

      Creating an Action from an Existing Package

      Figure 198. Creating an Action from an Existing Package

      When creating from an existing package, the package and action name must be selected, and the package must have previously been installed into the repository. See Packages for more information on packages and installation.

  6. Click Continue

  7. From the Action Type drop-down menu, select a type and fill in the required fields (vary depending on the type, they are all described further down).

    Choosing an Action Type

    Figure 199. Choosing an Action Type

  8. When you're finished setting the properties for the new action, click Create Action.

LogScale uses message templates and variables to create the messages sent by actions. They currently apply to some of the available action types — see Message Templates and Variables for more information.