Outgoing Webhook Messages
Each event received by Webhook Listeners in FlexDeploy will be saved for a period of 7 days. This provides a way to track all the events that occur and debug as needed. Messages can be viewed by navigating to Administration → Outgoing Webhooks and you will arrive at the Outgoing Webhook Messages screen.
Viewing Messages
The table shows all events received within the last week. Messages are purged automatically after 7 days.
Field | Description |
---|---|
Status | The status of the message. Can be SUCCESS, PENDING, FILTERED, or FAILED |
Event Message Listener Id *hidden | The id given to message listener |
Listener | The name of the listener that was executed |
Event Type | The event type corresponding to the event. |
Message | A message containing more detail on the execution. This message can be set in a listener’s script by using the LOG.setMessage function. If any errors occur during execution, the message will be overwritten |
Resubmitted By *hidden | User who resubmitted the message |
Actor | Actor who caused the event, typically a user. |
Submitted On | Date and time of event message creation |
Columns marked *hidden are not shown by default but can be added via the Edit Columns option in the toolbar
Viewing Message Details
Click on any Webhook Message row in the table to view more details about an Listener execution.
Click the payload tab to view the entire payload received by the event listener. More information on the execution can be viewed by clicking the logs tab. This will show any log messages printed in the Listener scripts using the LOG methods. You can also re-submit a Listener execution with the Resubmit button. This is only meant to be used for debugging purposes. There is a global permission defined on groups to control who is allowed to resubmit event messages.
Log Messages
Logs are printed by using the LOG methods in the function scripts. By default, the logging level will be based on the global FlexDeploy logging level. This can be modified specifically for event logs by setting the logging level for flexagon.fd.services.groovy.functions.LogFunctions in Administration → Admin Operations.
Some internal logs are printed automatically during execution. These logs will be at FINEST level.Â
Â
- style