[[["易于理解","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 applies to both Apigee and Apigee hybrid, focusing on investigating anomalies detected by the Advanced API Operations Anomaly Detection functionality, which is comparable to the Operations Anomalies in the Apigee UI.\u003c/p\u003e\n"],["\u003cp\u003eAnomalies identified in the Anomaly Events dashboard can be further investigated using the API Monitoring dashboards to obtain specific details about what occurred in the API at the time of the anomaly.\u003c/p\u003e\n"],["\u003cp\u003eThe Fault Code by Time graph in the API Monitoring dashboard helps identify specific fault codes contributing to an anomaly, such as the example of the \u003ccode\u003esteps.json2xml.SourceUnavailable\u003c/code\u003e error, which can be drilled down on for more data.\u003c/p\u003e\n"],["\u003cp\u003eYou can set up alerts to be notified when anomalies similar to what was found happen again in the future.\u003c/p\u003e\n"]]],[],null,["# Investigating 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:** \"Anomaly Detection\" describes the Advanced API Operations Anomaly Detection functionality, which is available in the Classic Apigee UI. This functionality is comparable to the \"Operations Anomalies\" functionality in [Apigee UI in Cloud console](https://console.cloud.google.com/apigee). Both are available at this time. See [Operations Anomalies overview](/apigee/docs/api-platform/analytics/operations-anomalies-overview) for information on the Operations Anomalies functionality.\n\nWhen you see an anomaly in the\n[Anomaly Events dashboard](/apigee/docs/aapi-ops/anomaly-detect-ui), 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 Anomaly Events\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\n| **Note:** We welcome your feedback on anomaly detection. If you have received an [anomaly alert](/apigee/docs/aapi-ops/anomaly-detect-ui), you can send feedback about the alert by clicking the **Anomaly Feedback** button in the upper-right of the **Anomaly Event Details** pane:\n\nThe Anomaly Event Details pane displays a timeline of error rate.\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 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 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."]]