[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-05。"],[[["\u003cp\u003eThis content focuses on how to investigate Operations Anomalies within the Apigee UI in Cloud console, contrasting it with the Anomaly Detection in the classic Apigee UI.\u003c/p\u003e\n"],["\u003cp\u003eAnomalies detected in the Operations Anomalies dashboard can be further examined using the API Monitoring dashboards to access specific API data related to the anomaly's timeframe.\u003c/p\u003e\n"],["\u003cp\u003eThe API Monitoring Investigate dashboard, accessible by clicking "Investigate" on an anomaly, displays an error rate timeline, and a breakdown of errors by fault codes, helping pinpoint the anomaly's origin.\u003c/p\u003e\n"],["\u003cp\u003eBy examining the Fault Code by Time graph, users can identify the specific fault code triggering the anomaly, as demonstrated with the \u003ccode\u003esteps.json2xml.SourceUnavailable\u003c/code\u003e example.\u003c/p\u003e\n"],["\u003cp\u003eUsers can further investigate by drilling down into fault code data or creating alerts for similar anomalies to receive notifications about future occurrences.\u003c/p\u003e\n"]]],[],null,["# Investigate anomalies\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\n| **Important:** This page describes how to use Operations Anomalies, which is comparable to the [Advanced API Operations Anomaly Detection](/apigee/docs/aapi-ops) functionality in the Classic Apigee UI. Operations Anomalies is only available in the [Apigee UI in Cloud console](https://console.cloud.google.com/apigee) while Anomaly Detection is only available when using the classic [Apigee UI](https://apigee.google.com). Both are available at this time.\n\nWhen you see an anomaly in the\n[Operations Anomalies dashboard](/apigee/docs/api-platform/analytics/operations-anomalies-overview#view-detected-operations-anomalies), you\ncan investigate it further in the\n[API Monitoring](/apigee/docs/api-monitoring) dashboards.\nThe dashboards display graphs and tables of recent API data, which provide\nhighly specific information about what was occurring in the API at the time of the anomaly.\n\nThe following sections present examples that illustrate how to investigate\nanomalies in the dashboards.\n\nExample: fault code anomaly\n---------------------------\n\nSuppose are looking at the Operations Anomalies\ndashboard, and you notice the anomaly shown below:\n\nTo view the details of the anomaly, click **Investigate** in the **Summary** column.\nThis displays the\n[API Monitoring Investigate dashboard](/apigee/docs/api-monitoring/investigate),\nas shown below.\n\n\nThe Anomaly Event Details pane displays an error rate timeline.\nThe graph shows that the anomaly occurred after 07:00 AM, when the error rate\njumped from less than 0.4 to more than 0.8.\n\nThe error rate in the timeline graph includes errors for all fault codes.\nTo see a breakdown\nof errors for different fault codes, look at the Fault Code by Time graph displayed\nbelow the timeline.\n\n**Note:** If the Fault Code by Time graph\nisn't currently displayed, select **Fault Code** in the **Graphs** menu to show it:\n\n\nThe circled column of the Fault Code by Time graph corresponds to the time interval containing\nthe time of the anomaly.\n\n**Note:** A small difference between the data displayed in the graph\nand the reported time of the anomaly is normal.\n\nYou observe that in the\ninterval `07:03 - 07:27`, there were 1499 responses with fault code\n`steps.json2xml.SourceUnavailable` (an error code\nthat is returned when a JSON to XML policy message source is unavailable).\nThis is the fault code that triggered the anomaly.\nBy contrast, over the preceding four\nintervals the average number of responses with that fault code was about 291, so the jump to 1499\nwas certainly an unusual event.\n\nFor more information about the `SourceUnavailable` error message, see\n[JSON to XML policy runtime error troubleshooting](/apigee/docs/api-platform/troubleshoot/policies/runtime/jsontoxml-runtime-errors).\n\nAt this point, there are a couple of ways to continue investigating the cause of the\nanomaly:\n\n- Drill down on the fault code data at the time of the anomaly by clicking the\n cell for the anomaly in the Fault Code by Time graph.\n\n\n This displays distribution tables for `steps.json2xml.SourceUnavailable`\n by fault source, proxy, and status code in the right-hand pane.\n\n In this example, the tables don't provide any additional information\n because all the fault codes arise from the same fault source, proxy, and\n status code. But in other situations, the distribution tables can point you\n to the location and cause of the anomaly.\n- [Create an alert](/apigee/docs/aapi-ops/create-alerts) for the anomaly and set up a notification. After you have done this, AAPI Ops will send you a message whenever a similar event occurs in the future."]]