API Analytics - Live Event Log

This guide assumes you are familiar with API Analytics already. If not, please review the Introduction to API Analytics first.

The Events Stream displays the API calls in a log like stream sorted by time or search relevance.

Searching REST API logs

Moesif captures the full request and response headers/body, which is display in the appropriate format such as a JSON tree if JSON body.

Moesif can capture any content type, although human-readable text like JSON and XML will work best. Binary content-types such as octet-stream will be displayed in binary format.

Event actions

You can select a group of specific events using the checkboxes. Once selected, you can perform actions on the selected events such as viewing a timing trace or replaying the API calls.

Plotting events on timeline chart

You can select a group of events (marking the checkboxes next to each event) and plot on a timeline chart. Select Show Timeline Chart menu option under the XX Selected button. Moesif has found its very useful to filter on user_id or session_token and then plot the timeline so you can see the API calls relevant for a particular user.

Plotting events on a timeline chart

Comparing two API calls

To compare two API calls, select Diff 2 Events from the selection drop down. Moesif will show you a left and right side and mark the additions and subtractions in green/red. Moesif will diff the entire HTTP request/response including HTTP headers and any JSON body to aid in debug investigation.

Compare two API calls

Sharing Charts

You can select specific events to share with the partners or customers without exposing all your API data. After check-boxing the relevant events, select share from the drop down menu. This will create a new workspace that can be accessed by the publicly accessible link. For more information, view workspace documentation.

You do not need to create links to share internally with the members of your organization. You can pass your browser tab’s URL to a teammate and they will view the same filters applied by you, without having them to re-enter the filter parameters.

Sharing API calls