How to fetch the Device Event Analytics on MacOS, Windows, and Linux Devices
How to fetch the Device Event Analytics on MacOS, Windows, and Linux Devices
Contents
Monitoring and analyzing Device Event Analytics is crucial for tracking user activity and system performance across different operating systems. Events such as login, logout, reboot, and shutdown provide valuable insights into device usage, security, and troubleshooting.
This article outlines the methods to fetch and analyze Device Event Logs on macOS, Windows, and Linux systems.
Purpose
The purpose of this article is to provide a detailed guide on fetching the Device Event Analytics reports on MacOS, Linux, and Windows devices.
Prerequisites
Make sure on the respective devices the below supported SureMDM Agent versions are installed.
Windows: v4.84.0 or later
macOS: v5.2.0 or later
Linux: v5.0.1 or later
Step 1: Enabling Data Analytics and Device event Analytics
1.Login to the SureMDM Console.
2.Navigate to the Account settings, and click on Data Analytics.
3.Scroll down and turn on the Device Event Analytics option.
4.Navigate to the Secret Key row, click on Show, copy the Secret key, and click on Apply.
5.Upon clicking ‘Apply’, a prompt will appear on the console requesting confirmation to enable Device Event Analytics
Select No, if you do not want to enable it for All the devices. Select Yes, if you want to enable it for all the devices.
Note: If you select Yes, you do not need to create a Data analytics policy Job for MacOS and Runscript Jobs for Windows and Linux devices. The Job will be created automatically and will be deployed on all devices over the console respectively skip step 2 and directly follow step 3.
Note: If you have selected No, and do not wish to deploy it on All the devices, then follow the below steps 2 and 3 accordingly.
Step 2: Lets see how to create jobs for macOS, Windows and Linux.
Creating the Data Analytics Policy job on MacOS:
1.Navigate to the Jobs section and select New Job.
2.Choose the MacOS Operating System and select the Data Analytics Policy job.
3.Enter the Job Name and from the Analytics Type drop-down menu select Device Event Analytics.
4.Enable the option Enable Data Analytics andPaste the Secret Key which was copied earlier.
5.Save the Job and deploy it onto the selected macOS devices from which you want to fetch the Device Event Analytics Report.
Creating the Data Analytics Policy job on Windows:
1.Navigate to the Jobs section and select New Job.
2.Choose the Windows Operating System and select the Run Script job.
3.Enter the Job Name and enter thebelow Runscript
4.Enter the secret key which was copied earlier and paste it into the field where it says SecretKey.