You can use the Event Log tab in the Analytics page to view policy breaches on APIs for a selected date range.
The Event Log tab shows the logged incidents in chronological order. To sort the incidents based on a different criterion, click the title of the column by which to sort the display. The last time that you refreshed the data is displayed beside the Find field.
Note: The timestamp displayed is based on the local time zone setting of your browser.
Event log properties
The following table describes the Event Log tab properties:
Property
Description
Timestamp
Time that the access exception or privacy policy leakage occurred. The timestamp displayed is based on the local time zone of your browser.
API URL
URL of the API that was invoked.
Authentication
Identifies the authentication type.
HTTP Response
HTTP response to the API invocation.
Description
Description of the access exception or privacy policy leakage, and the action that API Manager took, if any.
Consumer
Name of the user who initiated the API call. For managed APIs that use OAuth 2.0 authentication, consumer details also include the ID of the OAuth 2.0 client that invoked the API.
IP Address
IP address that accessed the API.
Downloading event logs
Download API event logs from the Analytics page. You can download up to 500 log entries as a CSV file for a date range or download a ZIP file of the logs for a specific month from the last six months.
1Navigate to the Analytics page. On the Event Log tab, perform one of the following actions:
- To download logs for a date range, select dates from the date range menu and click Show Log. The Events table shows logs for the date range.
- To download logs for a specific month, select a month from the Download log (ZIP) list.
2Click Download.
Note: The ZIP file includes one or more current log files. API Manager renames the current files according to the date, and creates current files for new event log entries once per day. During new releases, API Manager doesn't rename the existing current files, but creates new current files.