All Products
Search
Document Center

API Gateway:API call logs

Last Updated:Jan 15, 2025

This topic describes how to use Simple Log Service to view API call logs and configure the logging feature to record logs of HTTP requests and responses in the original API Gateway. This helps you monitor API calls to efficiently identify and resolve API call issues.

Use Simple Log Service to manage logs of API calls

API Gateway seamlessly integrates with Simple Log Service for various features. For example, you can query logs, download logs, and perform multi-dimensional statistical analysis of logs in real time. Specifically:

  • Online log query: You can use keywords to query logs. Both exact match and fuzzy match are supported. Log query can be used for troubleshooting or statistical query.

  • Detailed log query: You can use the following fields to query detailed call logs.

  • Call log viewing: You can view API call logs.

For more information, see Use Simple Log Service to manage logs of API calls.

Configure the logging of HTTP requests and responses

You can configure to record the HTTP requests received by API Gateway and the HTTP responses returned to clients.

Note

This feature is available for dedicated instances only.

For more information, see Configure the logging of HTTP requests and responses.