Datto RMM

Interact with Datto RMM API to manage devices, sites, alerts, and monitoring

Activity Log → Get by User

AI-generated

Overview

The 'Get by User' operation of the Activity Log resource in the Datto RMM n8n node retrieves activity logs associated with a specific user. This operation is beneficial for monitoring and auditing user-specific activities within the Datto RMM platform, such as tracking user actions, device interactions, and site modifications. For example, an IT administrator can use this operation to review all activities performed by a particular user during a specified period.

Use Case Examples

  1. An IT administrator wants to audit all actions performed by a user named 'JohnDoe' between July 1, 2026, and July 2, 2026.
  2. A security officer needs to review all activities related to a user 'JaneSmith' to investigate potential security incidents.

Properties

Name Meaning
userId The unique identifier of the user whose activity logs are to be retrieved. This property is required for the operation.
userOptions A collection of optional parameters to refine the activity log retrieval. It includes: - returnAll: Boolean indicating whether to return all logs or paginate results. - limit: Maximum number of logs to return if returnAll is false. - dateFrom: Start date for the activity logs. - dateTo: End date for the activity logs. - activityType: Type of activity to filter logs by.
selectColumns A multi-option field allowing selection of specific columns to include in the response, based on available device activity fields. Leaving it empty returns all columns.
options Additional settings for the operation, including: - sortBy: Field to sort results by (e.g., activityTime, activityType, userName, deviceName, siteName, severity). - sortOrder: Order of sorting (ascending or descending). - includeUserDetails: Boolean indicating whether to include detailed user information. - includeDeviceDetails: Boolean indicating whether to include detailed device information. - includeSiteDetails: Boolean indicating whether to include detailed site information.

Output

JSON

  • activityTime - Timestamp of the activity.
  • activityType - Type of activity performed.
  • userName - Name of the user who performed the activity.
  • deviceName - Name of the device involved in the activity.
  • siteName - Name of the site associated with the activity.
  • severity - Severity level of the activity.

Links

Discussion