Connecting Businesses to AOM
AOM provides a unified entry for observability analysis of Huawei Cloud services. Through the access center, you can monitor ELB log metrics/APM transaction metrics.
Procedure
- Log in to the AOM 2.0 console.
- In the navigation pane on the left, choose Access Center > Access Center. (To switch from the new access center to the old one, click Back to Old Version in the upper right corner.)
- In the Business panel on the right, click the target card and perform the operations listed in the following table if needed.
Table 1 Connecting businesses to AOM Card
Related Operation
ELB Logs
On the Log Metric Rules page, ingest ELB log metrics by referring to Ingesting ELB Log Metrics to AOM.
APM Transactions
On the Connect Application page, ingest APM transaction metrics by referring to Connecting Agents.
Ingesting ELB Log Metrics to AOM
You can create log metric rules to extract ELB log data reported to LTS as metrics and monitor them on the metric browsing and dashboard pages.
- Constraints:
- The business monitoring (beta) function is not generally available. To use this function, submit a service ticket.
- You can create a maximum of 100 log metric rules. The total number of metrics added to all rules cannot exceed 100.
- Prerequisite: ELB logs have been ingested to LTS.
- Procedure
- Log in to the AOM 2.0 console.
- Choose Access Center > Access Center. In the Business panel, click the ELB Logs card.
- Click
next to Log Metric Rules. - Set parameters to ingest ELB logs reported to LTS to AOM. For details, see Table 2. Figure 1 Ingesting logs
Table 2 Log ingestion parameters Parameter
Description
Ingestion Rule
Enter 1 to 100 characters and do not start with an underscore (_) or hyphen (-). Only letters, digits, hyphens, and underscores are allowed.
Log Type
ELB log is selected by default and cannot be changed.
Application
Select a created application from the drop-down list.
Log Group
Select a created log group from the drop-down list. If no log group is available, create one by referring to Collecting Logs from ELB.
Log Stream
Select a created log stream from the drop-down list. Click Preview Log to view the log data contained in the log stream.
Log Structuring
Click Structure to structure the selected logs. By default, structured fields are displayed in the list below.
- Click Next.
- Set metric information.
- Click Add Metric to add a metric for the log metric rule. For details, see Table 3. Figure 2 Adding a metric
Table 3 Metric configuration parameters Category
Parameter
Description
Basic Info
Metric Name
The name consists of prefix aom_business_elb_ and custom content.
Metric Alias
(Mandatory) Enter an alias.
Query Metric
Search By
Only SQL query is supported.
Query Statement
Enter an SQL query statement in the text box and click
to adjust the SQL statement format. Click
to view the syntax of SQL statements.Query Period
Select a period from the drop-down list. Options: Last minute, Last 10 minutes, Last 15 minutes, Last hour, Last 6 hours, Last day, and Last week.
Define Metric
Metric Value
Select a value from the drop-down list. Only numeric fields can be selected.
Metric Dimension
Select a value from the drop-down list.
- Click OK.
- (Optional) Click Add Metric to add more metrics for the rule.
- Click Add Metric to add a metric for the log metric rule. For details, see Table 3.
- After the configuration is complete, click OK.
What is your overall rating for this page?
Thank 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