Managing Events and Logs
Overview
The logs provide you with a comprehensive overview of events with the details, such as event date, type, subscriptions name, log type, status, and endpoint.
The detailed view of an event log provides more information, such as the status code of the event, its name, the name of the subscription it’s linked to, the endpoint URL, the number of attempts made, the version of the event and when it got triggered, the time it was delivered, the details of the request, and the response details. You can use these information to track and troubleshoot issues during event operations over the last seven days.
You can search for a specific event and filter events based on date, event type, status code, or subscription name. You can also sort the logs by clicking a specific field in the top menu or selecting a particular option within that field.
Prerequisites
Ensure that you have Developer Admin or Developer Viewer privileges. For more information, see the Role-Based Access Control topic.
Viewing Logs
- In the left menu, click Settings > Developer Tools.
- Click Webhooks.
The Webhooks page is displayed. - Click the All logs tab.
The logs of all event are displayed. - To view the log details of an event, hover over the row of the event.
- On the far right of the row, click the Event Details icon.
The Event information page displays the following information:- Status Code
- **Name of the event **
- Subscription name
- URL endpoint
- Attempts
- Event version
- Triggered at
- Delivered at
- Request Details
- Response details
If you want to resend the event, you can click the Resend button.
- To close the detailed view, click Close.
Replaying Events
You can use the replay feature to resend all events for a specific subscription within a designated date range to diagnose any event failures during that period. For example, if you want to investigate the delivery failure of one or more events from a specific period, you can replay all events recorded during that time frame. Note that, you can only replay events recorded during the last seven days.
Procedure
-
In the left menu, click Settings > Developer Tools.
-
Click Webhooks.
The Webhooks page is displayed. -
Click the All logs tab.
The logs of all event are displayed. -
To replay the events of a subscription, click the Replay events button at the top right.
The Replay events tab is displayed. -
In the Subscription name field, select the name of the subscription.
-
In the Select dates field, select the date range.
-
In the Select time field, select the time range.
-
Click Replay events.
Note that this action replays all of the events for the selected subscription. -
Refresh the page and check the log to see the status.
Resending Events
If a failure to deliver an event occurs, fabric automatically retries up to 3 times to deliver the failed event.
- In the left menu, click Settings > Developer Tools.
- Click Webhooks.
The Webhooks page is displayed. - Click the All logs tab.
The logs of all event are displayed. - Do one of the following:
- To resend an event, select the check box next to the name of the event, and then click Resend events.
- To resend more than one event, select the check box next to the name of the events, and then click Resend Events.
- To resend all events, select the checkbox in the top menu, next to the Status code field, and then click Resend events.
A message to confirm the action is prompted. Note that resending events can impact your data and downstream processes.
- Click Yes, Resend Event.
The selected events are queued to resend and a message to refresh the page to view the status is displayed. - Click Refresh.
The all logs page is refreshed and the status is updated.
Related Topics
Was this page helpful?