This workflow template provides a seamless mechanism to gather Torq Audit or Activity logs as needed in a parent workflow. By providing essential parameters, it retrieves logs within a specified timeframe and supports log management by returning them in a JSON array. Ideal for maintaining system audits and activities, ensuring operational compliance and effective monitoring.
Use Cases
Example
Workflow Breakdown
Call the workflow and provide the required parameters.
Retrieve or calculate the timestamp of the last checkpoint based on the specified timeframe.
Retrieve either Audit or Activity logs based the provided parameters.
Return a collection of logs in the exit of the workflow.
Vendors
Utils, Torq
Workflow Output
JSON Array of the requested logs within the configured time.
Tips
Set "Discard Activity Log Body" trigger parameter to remove the event body from activity logs.