Skip to main content

Alert Settings

Home > Select Project > Alert > Event Setting > Log tab

You can set alerts by filtering the collected log data according to the conditions. Select + Add alert settings to set the log event alert. After all settings are finished, select Save.

Log notification setting

The log events that can be added are as follows:

  • Real-time Log Event: Alerts are sent when the search value is found in the logs collected in real time.

  • Composite Log Event: An alert is sent when more than a specific number of logs that meet conditions, are collected among recently collected logs.

Note
  • To add or set an event, you must have the alert settings permission. For more information about the member roles, see the following.

  • For alerts, see the following to find which event types are supported by monitoring platform.

Common options for event addition

The following are common options that can be set when adding an event.

  • Event title: Enter the name of the event to add.

  • Activate Events: You can set to enable or disable the alerts by clicking the toggle button.

  • Level: Select a level among Fatal, Warning, and Info.

  • Message: Enter a notification message to be displayed when events occur. By entering ${tag or field key}, you can apply the variable to the message. The key to enter in the variable must be included in Category of the selected metrics data.

  • Category: You can select the log type name (log folder name) from the list or enter it directly.

  • Event pause: This option can prevent excessive alert notifications from happening. No alerts are sent for the selected period after the first alert notification is generated. In addition, they are not recorded in Event History.

  • Event Receiving Tag: If this tag is selected, notifications can be sent to project members and 3rd-party plug-ins with the corresponding tags. If the event receiving tag is not selected, alerts are sent to all project members.

    If the tag is not added, alerts are sent to all members. Click + Add Tag and then select alert receivers in Tag List. Select + Create New Tag to add new tags.

    Note

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

Add real-time log event

실시간 로그 이벤트 추가 sc

  • Search key: Indicates an identifier for accessing a specific value within the log data. You can select any in the list and directly enter it.

    e.g. In case of accessing a value representing the HTTP response status code, Search key status

  • Search key: Indicates actual data that corresponds to the search key. An alert is sent if the log includes the specified word. You can select any in the list and directly enter it.

    For example, in case of setting the search key status search value 200, a warning notification is generated when collecting the log data with the HTTP response status code 200.

  • Filtering event targets: Select Search key, Operator, and Search value through the Selector option to filter the targets. Otherwise, select the Direct Input option. If there is no input, it determines whether or not to generate notifications for all data collected in real time.

    For example, among the logs in the AppLog category, it searches for the logs whose level is ERROR. An alert is sent when oid is 12345678 among the matching logs.

Add composite log event

복합 로그 이벤트 추가 sc

  • Templates : Composite log templates are provided.

  • Log search condition

    • In Search key, you can select any event rule. You can select any value that meets the selected search key.

    • If you add a same item in Search key, the OR condition works. Otherwise, the AND condition works.

    • You can select Exclude to exclude the selected search value from the event rules.

    • You can select + Add to add or exclude multiple event rule conditions.

  • Time Range: You can view the logs collected during the selected period. If you select 5 minutes as the time range, the event rule condition is checked after searching for the data collected during the last 5 minutes.

  • Event rule condition: Alerts are sent when events occur as many as the entered number and they occur by meeting the selected operator's condition.

    For example, among the logs in the AppLog category, the logs that meet Enter conditions are filtered. If Exclude is checked for condition, it indicates that the logs searched by the condition are excluded. Thus, the logs whose level is ERROR are excluded. Alerts are sent when the event is less than 5 among the logs collected in the last 10 minutes.

Modifying the log event settings

  1. Go to Alert > Event Setting.

  2. Select the Log tab.

  3. Select Edit icon on the right of the event to modify in the log event list.

  4. If the Event Setting window appears, modify the options and then select Save.

To delete the selected log event, select Delete on the upper right of the Event Setting window.

Turning off the log event

  1. Go to Alert > Event Setting.

  2. Select the Log tab.

  3. In the log event list, select the toggle button on the utmost right of the event to turn off the alert.

If you select the toggle button again, the alert is enabled.

Exporting and importing the log event

After saving the log event settings in a json file, you can load them for reuse.

  1. Go to Alert > Event Setting.

  2. Select the Log tab.

  3. Select JSON Export icon on the log event list. The Export JSON window appears.

  4. Modify or edit the items to export.

  5. On the upper right of the screen, select Export icon Export. Download the json file through your browser.

  6. On the log event list, select Import icon.

  7. If the file selection window appears, select the downloaded json file.

  8. If the Import JSON window appears, modify the content and then select + Add to List.

Note

ID exists in the event. After deleting the ID, try again.

  • If a message appears, in the Import JSON window, delete the id and then select + Add to List.

  • To overwrite an existing item, delete the id item and then select Overwrite.