Logs API
View logs aggregated by Apigee API Monitoring. For more information, see View logs using the API.
Resource Types
Error
Method | Endpoint | Description |
---|---|---|
get | /logs | Gets traffic metrics. By default, the API returns the most recent 10 logs for the previous hour. Use the
The
For example:
You can specify either This API also defines query paramaters that you can use to filter the results by API proxy, region, fault flow, and other options. Note: You can call this API at most six times per minute. For more information and examples of this API, see View logs using the API. |
get | /logs/apiproxies | Get the list of API proxies associated with a specific virtual host and base path. Note: You can call this API at most six times per minute. A virtual host on an Edge Router lets you specify a domain name, protocol such as HTTP/HTTPS, and port number. For example, you define a virtual host on an Edge Router with the following settings:
Based on these settings, a request to an API proxy associated with this virtual host uses the form:
Where:
For more on virtual hosts, see About virtual hosts. For more information and examples of this API, see View logs using the API. |
Log
Method | Endpoint | Description |
---|---|---|
get | /logs | Gets traffic metrics. By default, the API returns the most recent 10 logs for the previous hour. Use the
The
For example:
You can specify either This API also defines query paramaters that you can use to filter the results by API proxy, region, fault flow, and other options. Note: You can call this API at most six times per minute. For more information and examples of this API, see View logs using the API. |