Abstract: Recently, Ali cloud API gateway is connected with the log service, which can output the API call logs generated by users in the API gateway. Currently, users who access the API gateway can view the log details, overview, report analysis, online query, etc. The Acccess Log is a Log generated by the application service. Each API request corresponds to an access record, including the caller’S IP address, request URL, response delay, return status code, request and response bytes.
Click here to view the original text:click.aliyun.com/m/41843/
Recently, Ali Cloud API gateway is connected with the log service, which can output the API call logs generated by users in the API gateway. Currently, users who access the API gateway can view the log details, overview, report analysis, and online query.
The Acccess Log is a Log generated by the application service. Each API request corresponds to an access record, including the caller’S IP address, request URL, response delay, return status code, request and response bytes. Open logging is especially important for API gateway users to break out of the black box and understand the health of their API services.
Before the log service is enabled to output logs, users do not know how many times their API is called, whether it succeeds, what the delay is, and what errors are reported. API gateways are completely black box to users with asymmetric information. But now Ali cloud API gateway output logs to log service, so that the information is almost transparent, users have full control of their OWN API situation, which meets the very urgent needs of most users.
It is understood that API gateway opens logs through ali Cloud public cloud product log service, enabling users to manage their logs generated in a variety of cloud products in a one-stop log service. It mainly includes the following aspects: Instant entry: The error is less than 15 seconds from the time when the log is generated by the invocation to the time when the log enters the log service. Real-time query: The log service supports real-time ONLINE SQL query. Multi-dimensional custom statistics: Log service also supports log and user SQL custom report creation, automatic generation, API gateway also preset some important data reports for users.
In terms of functions and development of domestic users, Ali Cloud obviously has a great advantage. At present, the same products of the same domestic cloud manufacturers have a big gap in functions, log output capability is not provided, or they do not support API gateway products.
Aliyun said that in order to release more technology dividends, the company will provide free logging service for 512 megabytes per month and API gateway for the first 1 million times per month. It is equivalent to the first 1 million API calls and log storage per month for free, which greatly outperforms other cloud vendors.
This feature is also very simple to use and can be easily implemented in just four steps:
Ali Cloud API gateway service has been online since July 2016, and now supports full life cycle hosting of API, APPKey authentication, third-party authentication, no authentication and other authentication modes, traffic control of MULTIPLE dimensions of API, API and user, automatic capacity expansion, tamper-proof, back-end check and other security protection mechanisms. Supports o&M functions such as alarm monitoring. And it can get through the API market to help users realize cash, and it can get through the function calculation to support the Serverless architecture.
Scan for more information: