Skip to main content
All CollectionsTemplatesBasic
Gather Torq Audit or Activity Logs - Workflow Template
Gather Torq Audit or Activity Logs - Workflow Template

Nested workflow that collects Torq workflow Activity logs or user Audit logs and returns the logs to the parent workflow.

Updated over a week ago

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

  1. Call the workflow and provide the required parameters.

  2. Retrieve or calculate the timestamp of the last checkpoint based on the specified timeframe.

  3. Retrieve either Audit or Activity logs based the provided parameters.

  4. 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.

Did this answer your question?