AvantGuard - Hudu icon

AvantGuard - Hudu

AvantGuard - Hudu

Actions109

Overview

This node operation deletes activity logs starting from a specified datetime. It is useful for managing and cleaning up old or unnecessary logs in a system, especially when logs need to be removed based on a time threshold. For example, an administrator might use this node to delete all activity logs older than a certain date to maintain system performance or comply with data retention policies.

Use Case Examples

  1. Delete all activity logs starting from January 1, 2023, to clear old logs.
  2. Delete only unassigned activity logs (logs where user_id is nil) starting from a specific datetime.

Properties

Name Meaning
Datetime The starting datetime from which logs will be deleted; must be in ISO 8601 format.
Delete Unassigned Logs If true, only deletes logs where user_id is nil (unassigned logs).

Output

JSON

  • response - The response from the API after attempting to delete the activity logs, typically indicating success or failure.

Dependencies

  • Requires an API key credential for authentication to the AvantGuard Hudu API.

Troubleshooting

  • Ensure the datetime is provided in valid ISO 8601 format; otherwise, the API may reject the request.
  • If the API returns an authentication error, verify that the API key credential is correctly configured and has the necessary permissions.
  • If no logs are deleted, check the datetime parameter and the 'delete_unassigned_logs' flag to ensure they match the intended logs to delete.

Links

Discussion