Skip to main content

Event Setting

Home > Select Project > Icon Sitemap > Alert > Event Configuration New

The new Event Configuration menu can enhance the user experience by focusing on the field (Field) rather than the category (Category). This event function allows you to quickly apply warning level notifications to users who do not need powerful features such as metric event settings or to repeatedly use simple notification conditions. By providing basic event templates for the products of the created project, you can quickly and easily configure the desired warning notification events.

By selecting fields first rather than categories, we can resolve the discrepancy between metrics perceived by the user and event settings. By combining the visual intuition of the simulation, you can complete event settings quickly and accurately.

Note
  • New projects can use this feature without extra settings. However, for the created projects, select Create event template. The event lists optimized for new features are automatically generated.

  • The provided event templates may differ depending on the product.

  • This function can be used by only the members with the Alert settings role. For more information about the member roles, see the following.

Basic event templates

Basic event templates are provided based on the product of the created project. You can activate a desired event by selecting Activation on the utmost left of the event list.

Event list

  • Abnormal ajax load count

    Category: rum_ajax_each_page

    If the AJAX load count (ajax_count) exceeds 50, a warning (Warning) level notification is sent. If it exceeds 100, a critical (Critical) level notification is sent.

  • Abnormal ajax response time

    Category: rum_ajax_each_page

    If the average response time for AJAX requests (ajax_duration) exceeds 20,000 ms (20 seconds), a warning (Warning) level notification is sent. If it exceeds 50,000 ms (50 seconds), a critical (Critical) level notification is sent.

  • Abnormal error count

    Category: rum_error_total_each_page

    If the error occurrence count (error_count) exceeds 10, a warning (Warning) level notification is sent. If it exceeds 50, a critical (Critical) level notification is sent.

  • Abnormal page load

    Category: rum_page_load_each_page

    If the page load count (page_load_count) exceeds 50, a warning (Warning) level notification is sent. If it exceeds 100, a critical (Critical) level notification is sent.

  • Abnormal page load time

    Category: rum_page_load_each_page

    If the average time for the browser to load a web page (page_load_duration) exceeds 4 seconds, a warning (Warning) level notification is sent. If it exceeds 6 seconds, a critical (Critical) level notification is sent.

Note

For more information about the fields applied to the basic event templates, see the following.

Modifying event

You can modify the metric values applied in basic event templates for changing the warning notification occurrence criteria. In addition, you can change the notification occurrence criteria through various option settings. Select Edit icon on the event to modify. The event editing screen appears. Modify the following items and then select Save.

Define event condition

You can set the criteria for event occurrence conditions.

Define event condition

  • Simulation: If you set event conditions and then select the button, the result of the set event can be predicted.

    Event simulation

  • Indicatorsettings: You can set the thresholds for the Warning or Critical notifications. Set an operator and then enter thresholds.

    • Operators: > (greater than), >= (greater than or equal to), < (less than), <= (less than or equal to), == (equal to)

    • You can enter a positive number, negative number, or 0 as the threshold, but whether to enter a negative number may differ depending on the selected event template.

    Note
    • Depending on the provided event template, the notification levels that can be set may differ.

    • You can select one of Warning and Critical. However, you cannot disable both two items.

  • Consecutive: You can send notifications based on the count that meets the specified event conditions.

    • Not used: Notifications are sent each time any event occurs.

    • Consecutive: Notifications are sent each time any event occurs as many as you specified.

  • Pause: No notification is sent for the selected time after receiving the notification.

    Note

    If the Resolved notification feature is active, notifications are not sent for the set period after sending a notification in RECOVERED state.

  • Resolved notification: When this option is enabled, the events appear as In progress in the Event History menu. When an event of Critical or Warning level is resolved, normal (RECOVERED) notifications are received. This function can be enabled or disabled by selecting the toggle button.

    Resolved notification

    Note

    For more information about Event History, see the following.

Tip

The criteria for sending notifications differ depending on the following conditions:

ConsecutiveResolved notificationAction
Not usedOnNotifications are sent when the specified event conditions are met or resolved.
OffThe notifications are sent whenever the specified conditions are met.
Consecutive N Occurrences OnNotifications are sent when a condition is met at least N times or an event is resolved at least N times.
OffA notification is sent if the event conditions you set are met more than N times. After sending a notification, the count is reset and it is recounted.

Select event target

You can set to send events that occur only on a specific page group as notifications. Click the Page_group item and then select a desired page group.

Select event target

Note
  • Depending on the provided template, selectable targets may differ.

  • To check the event occurrence status for the selected targets, select RUN in Define event condition.

  • If you do not select a target, notifications are sent to all page groups. When an event occurs across all page groups, it can generate numerous notifications.

Basic information and notification setting

You can write a title and message for the event received as a notification, and then select the recipients.

Basic information and notification setting

  • Activate events: You can enable the current events.

  • Event title: The event name of the basic template has been specified. You can edit the event name as you want.

  • Message: The message of the basic template has been specified. You can edit the message as you want. If the time icon button is clicked, you can see the history of previously entered messages.

    Tip

    You can write a message by entering the ${Tag} or ${Field} variable in the message field.

    In Analysis > Metrics Search, select Category and then check the ${Tag} or ${Field} variable that can be entered. For the Category name of the current event template, see the Category in the following

  • Test alert: When receiving notifications as events, you can pre-check the specified event name and message. Testing is possible only when the required items (Indicatorsettings, Event title, and Message) are all entered.

    Note

    During testing, substitution for actual metric values or variables does not work, and the notifications cannot be sent only to users with recipient tags.

  • Event reception: You can select members to receive notifications from current events.

    • Receive all: You can send notifications to all the members in the project.

    • Receive selected tags: It sends notifications to project members and 3rd-party plugins with the selected tags. Click Add tag or to select a tag from the tag list.

    Note

    In Alert > Notifications, you can set the tags in project members and 3rd-party plug-ins. For more information, see the following.

Adding an event

You can edit a basic event template to add your own notification.

  1. On the upper right of the screen, select Add alert settings.

  2. Select an event to add from the template list.

  3. Set the options in the Select event target, Select event target, and Basic information and notification setting sections in turn.

  4. After all settings are made, select Save on the upper right of the screen.

You can see newly added events in the event list.

Note
  • To use it differently from basic event templates, edit the Event title item and then save it.

  • For more information about the basic event templates, see the following.

  • For more information about the event condition setting, see the following.

Deleting an event

You can delete the embedded or added events.

  1. Select Edit icon in the event to delete from the event list.

  2. In the event modification screen, select Delete on the upper right of the screen.

  3. If the deletion confirmation window appears, select Delete again.

Note

The deleted event cannot be restored.

Modifying to JSON format

You can modify event settings in JSON format.

  1. On the upper right of the screen, select JSON .

  2. When the editing window appears, modify the content in JSON format.

  3. After all changes are made, select Save on the upper right of the screen.

Note

If the modified content does not match the JSON format, an error message appears at the bottom of the screen and the changes cannot be saved. The displayed error message may differ depending on the format.

JSON error

The JSON data structure is as follows:

{
"metaId": "infra001",
"displayName": "CPU",
"stateful": true,
"selectCondition": {},
"warningEnabled": true,
"criticalEnabled": true,
"receiver": [],
"warningThreshold": "cpu > 70",
"criticalThreshold": "cpu > 90",
"repeatCount": 1,
"silentPeriod": 60000,
"enabled": false,
"message": "CPU = ${cpu}"
},

The fields in JSON data are associated with the following options in event settings.

JSON fieldOption
metaIdUnique identifier for the selected template
displayNameEvent title
statefulResolved notification
selectConditionSelect target
warningEnabledWhether the Warning event is active or not
criticalEnabledWhether the Critical event is active or not
receiverList of key values in the Event reception > Receive selected tags option
warningThresholdThreshold setting of the Warning event
criticalThresholdThreshold setting of the Critical event
repeatCountConsecutive N Occurrences
silentPeriodPause
enabledActivate events
messageMessage

Default Sharing events

You can save the Default event settings as a JSON file to share them with other users or import them from other users.

Export

  1. On the upper right of the screen, select JSON .

  2. If the JSON edition window appears, select Export.

  3. Once the JSON file has been downloaded, forward it to others for sharing.

Note
  • The format of the JSON file name is event-rules-YYYY-MM-DD.json.

  • After searching for events, you can use the export feature to download only the searched list as a JSON file.

Import

  1. On the upper right of the screen, select .

  2. Using the Export function, select a JSON file to download.

  3. If the JSON edition window appears, select Add to list or Overwrite.

Caution

It is recommended to use this function for the products of the same type. You can import event settings from the projects for other products, but it does not work.

Sharing all event settings

You can download the settings of the default event and all other events as a JSON format file, allowing you to share the settings between products of the same type. This simplifies repetitive event configurations.

Export

On the screen, select JSON Batch Download. A JSON file containing all event settings are downloaded. The format of the JSON file name is integrated-event-YYYY-MM-DD.json.

The JSON data structure is as follows:

integrated-event
{
"productType": "{productType}",
"platform": "{platform}",
"events": {
"HITMAP": {
...
},
"LOG_REALTIME": [
{...}
],
"METRICS": [
{...}
],
"COMPOSITE_LOG": [
{...}
],
"BASIC": [
{...}
],
"COMPOSITE_METRICS": [
{...}
],
"ANOMALY": [
{...}
]
}
}

The sub properties of the events property correspond to the following event settings.

Events

  • BASIC: Default
  • METRICS: Metrics
  • COMPOSITE_METRICS: Composite metrics
Note

The structure of the JSON data and sub properties of the events property may differ depending on the product (platform) or product type (productType).

Caution

If you arbitrarily modify the value of the productType or platform property among the JSON data properties, the events may not work in other projects.

Load

  1. On the screen, select JSON Batch Edit.

  2. If the JSON editing window appears, select Load at the bottom of the screen.

    JSON Batch Edit

  3. Using the JSON Batch Download function, select a JSON file to download.

  4. Select Overwrite.

  5. When the confirmation message appears, select Overwrite.

Note
  • If overwritten, the previous event settings cannot be restored.

  • If you arbitrarily modify the value of the productType or platform property, the events may not work in other projects.

  • The JSON editing window has a built-in JSON validation function. If the format or value is incorrect, an error message appears below the editing window, and the Overwrite button is disabled.

Searching event

You can search the event by event name or metric in the event list. Enter a string in the search field and then select Search icon.

Note

After searching for events, you can use the export feature to download only the searched list as a JSON file. For more information about the export feature, see the following.