Creating Statistical Rules
Logs contain information such as system performance and services. For example, the number of the ERROR keywords indicates the system health, and the number of the BUY keywords indicates the service volume. You can create statistical rules to find such information. After statistical rules are created, AOM periodically counts keywords and generates metric data so that you can monitor system performance and service information in real time.
Precautions
A statistical rule takes effect by log bucket. Before creating a statistical rule, ensure that at least one log bucket has been created. A maximum of 5 statistical rules can be created for a log bucket.
Procedure
- Log in to the AOM console. In the navigation pane, choose Log > Statistical Rules.
- Click Create Statistical Rule in the right corner of the page. Then, select a rule type, set a rule name and keyword, select the created log bucket, and click OK, as shown in the following figure.
A statistical rule takes effect by log bucket. AOM will periodically count the number of keywords in log files of a log bucket and generate log metrics.
Figure 1 Creating a statistical rule
After a statistical rule is created, a metric named after the rule will be generated.
More Operations
After creating a statistical rule, perform the operations listed in More Operations if needed.
Operation |
Description |
---|---|
Viewing a statistical rule |
Click a statistical rule in the Rule Name column to view its details. |
Modifying a statistical rule |
Click Edit in the Operation column. |
Deleting a statistical rule |
NOTE:
Deleting a statistical rule will not delete your log buckets or files. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot