Monitoring and Purging logs
Monitoring and Purging logs
You can monitor ThingWorx Flow application by Execution Logs. Execution logs hold all workflow execution information.
These logs can be purged periodically through Scheduling settings.
Execution Logs
Under Monitoring, click EXECUTION LOGS to display the execution logs of workflows in your ThingWorx Flow system.
By default, in the Execution Logs table, each workflow execution has its own row, with the most recently executed workflow on top.
You can click next to Group by Workflow Name to get an overview of workflow execution, grouped by workflow.
This page provides the following details:
Workflow name
ThingWorx Thing name
User that executed the workflow
Start and end time of workflow execution
Duration of workflow execution (in seconds)
Workflow execution details
Status of workflow execution
A link to view the detailed log of workflow execution
A link to view the workflow
You can perform the following tasks on the Execution Logs page:
Use the search fields to search for a workflow by name, thing name, user, and the time period of workflow execution.
To sort the execution log by date-time or name in ascending or descending order, click or .
To view detailed information about a specific workflow execution, click View Log. The log details appear as shown in the following figure:
To view the workflow, click View Workflow.
To stop a running workflow, click STOP WORKFLOW.
To enable automatic refreshing of activity logs, click next to Auto refresh logs. The list of logs refreshes every minute. By default, Auto refresh logs is disabled.
Click next to Group by Workflow Name to view a complete overview of workflow execution, grouped by workflow. In this case, every workflow has its own row in the Activity Logs table, and provides the following details:
Workflow name
Thing name
Average execution time
Total executions
Total failed executions
Percentage of successful executions
Schedule Purge Logs
Under Settings, click SCHEDULE PURGE LOGS to create and set schedule for deleting execution logs.
Legend
Description
1
Execution Logs Purge section
Create and update settings for deleting execution logs.
* 
The image shows the default values for purge schedule. To set these default values to schedule purge logs, click CREATE.
2
Sets the schedule for deleting logs.
* 
For a monthly schedule, if the Day value is set to 31, the logs will be deleted only for that have 31 days.
* 
The logs will be deleted based on the time zone of the user who has set the schedule.
3
Set the timeframe to retain the logs while executing the purge schedule.
4
Update the schedule for deleting logs.
5
Reset the deletion logs to the last schedule set.
RESET works only if UPDATE is not done.
Was this helpful?