Connecting Businesses to AOM
AOM provides a unified entry for observability analysis of 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:
- To use business monitoring (beta), enable this function in Menu Settings. For details, see Configuring AOM Menus. 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.
- In the navigation pane on the left, choose either of the two following entries:
- Entry 1: Choose Access Center > Access Center. In the Business panel, click the ELB Logs card.
- Entry 2: Choose Business Monitoring (Beta) > Business Metrics. Then click Back to Old Version in the upper right corner of the page.
- 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.
After creating an ELB log metric rule, you can also perform the operations listed in Table 4 on the Business Monitoring (Beta) > Business Metrics page (click Back to Old Version in the upper right corner of the page).
Table 4 Related operations Operation
Description
Querying a log metric rule
- In the log metric rule list on the left, click a rule name.
- In the right pane, view the enabling status, log type, and metric of the rule.
Disabling a log metric rule
- In the log metric rule list on the left, click a rule name.
- In the upper right corner of the page, click Disable.
Editing a log metric rule
- In the log metric rule list on the left, click a rule name.
- In the upper right corner of the page, choose
> Edit. For details, see Ingesting ELB Log Metrics to AOM.
Deleting a log metric rule
- In the log metric rule list on the left, click a rule name.
- In the upper right corner of the page, choose
> Delete.
Adding a metric
- In the log metric rule list on the left, click a rule name.
- In the right pane, click Add Metric. For details, see 6.
Editing a metric
- In the log metric rule list on the left, click a rule name.
- In the right pane, select a metric access card and click
. For details, see 6.
Deleting a metric
- In the log metric rule list on the left, click a rule name.
- In the right pane, select a metric access card and click
.
Searching for a metric
- In the log metric rule list on the left, click a rule name.
- On the right of the page, enter a rule name keyword in the search box next to Add Metric and click
.
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