Skip to content
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

### Creating Actions

##### Security Requirements and Controls

- `Change triggers and actions` permission

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 Alerts 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 :

     Figure 112. 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.

     Figure 113. 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:

     Figure 114. 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:

     Figure 115. 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 Package Management 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).

   Figure 116. 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.

#### Enter search term