Difference between revisions of "Adding a rule/zh-cn"

From Senfi Docs
Jump to: navigation, search
(Created page with "您还应该熟悉基本测量及其概念。如果需要复习,请阅读本节。")
(Created page with "你应该 * 知道规则应检测的事件。 * 知道检测到事件后,您希望Senfi做什么应对('''触发事件''') * 已经创建了'''输入'''测量和参数...")
Line 4: Line 4:
 
您还应该熟悉基本[[Measurement|测量]]及其概念。如果需要复习,请阅读[[Concepts#Measurement.2C_Metric.2C_Tag|本节]]。
 
您还应该熟悉基本[[Measurement|测量]]及其概念。如果需要复习,请阅读[[Concepts#Measurement.2C_Metric.2C_Tag|本节]]。
  
You should
+
你应该
* Know what event the Rule should detect.
+
* 知道规则应检测的事件。
* Know what you would like Senfi to do ('''Action''') when the event is detected
+
* 知道检测到事件后,您希望Senfi做什么应对('''触发事件'''
* Have already created the '''Input''' measurement & metrics.
+
* 已经创建了'''输入'''测量和参数。
* Know the thresholds or values which indicates occurrence of event.
+
* 知道表示事件发生的阈值或值。
* Be able to send records to '''Input''' measurement & metric.
+
* 能够将记录发送到'''输入'''测量和参数。
* (Optional) Be able to send simulated records to '''Input''' measurement & metric (to simulate occurrence of event or situation)
+
* (可选)能够将模拟记录发送到“'''输入'''测量和参数”(模拟事件或情况的发生)
  
 
=== Adding a New Rule ===
 
=== Adding a New Rule ===

Revision as of 15:00, 5 November 2019

先决条件

规则需要进行设计和逻辑编程,才能使其正常运作。如果这是您第一次创建规则,请先阅读本指南

您还应该熟悉基本测量及其概念。如果需要复习,请阅读本节

你应该

  • 知道规则应检测的事件。
  • 知道检测到事件后,您希望Senfi做什么应对(触发事件
  • 已经创建了输入测量和参数。
  • 知道表示事件发生的阈值或值。
  • 能够将记录发送到输入测量和参数。
  • (可选)能够将模拟记录发送到“输入测量和参数”(模拟事件或情况的发生)

Adding a New Rule

  1. Login to the CMS.
  2. Go to the Rule tab.
  3. Click the + button to add a new rule.
  4. Give the rule a descriptive name. This will be shown to users of the dashboard.
  5. Select the Severity of the rule.
  6. Select Evaluate Type of the rule.
  7. (Optional) Select the Access Group that would be able to view and modify the rule. Defaults to all users in your organization.
  8. Give the rule a descriptive Description. The Description would be the default content for any Action.
  9. Construct the Conditions using the editor. Read section on "Constructing Condition" for more details.
  10. Save when done.
  11. (Optional) Test the rule by sending records to simulate event.