Viewing Logs


Logs play an important part in device monitoring. Reviewing logs regularly can help to identify and analyze issues early and ensure that things can run smoothly.


Logs in EnOS are categorized into two types as per the below.

  • Cloud Logs: Include upstream and downstream messages such as device onboarding, firmware upgrades, file uploads and downloads, data parsing, data reporting, data storage, commands,etc. Logs of upstream messages are messages sent by the device to the message queue, messages flowed from the topic queue to the rule engine, and messages forwarded from the rule engine to other products and services in EnOS Cloud, while logs of downstream messages are messages sent from the cloud to the device.
  • Device Logs: Include information that are related to the device running state and processing logic. Note that devices need to support log reporting for logs to be viewed.


This section shows how you can view logs of all devices under a product for the above two categories.

Prerequisite

To view logs, you need to be assigned the Device Management Administrator policy. If you are not assigned, contact your OU administrator. For more information about policies in EnOS, see Policies, Roles, and Permissions.

Viewing Cloud Logs

  1. In the EnOS Management Console, select Monitoring & Maintenance > Logs > Cloud Logs.
  2. Enter or select the desired search conditions and click Search.
  3. The search results will be displayed below, including the time of the log, management type, operation type, device name, etc.
../../_images/view_cloud_logs.png

Viewing Device Logs

  1. In the EnOS Management Console, select Monitoring & Maintenance > Logs > Device Logs.
  2. Enter or select the desired search conditions and click Search.
  3. The search results will be displayed below, including the time of the log, management type, operation type, device name, etc.
../../_images/view_device_logs.png

Viewing Device Communication Status

You can view the details of a device’s communication status such as its message type, device type, time reported, etc. for a certain time range.

  1. In EnOS Management Console, go to Monitoring and Maintenance > Logs > Device Communication Status.

  2. To view a device’s communication status, first select the product it belongs to, then select the device, and the time range. Available time range options are 1 hour, 1 day, 7 days, and 30 days.

  3. Click Search and the results will be displayed below.


    ../../_images/device_network_stats_results.png


  4. To view an item’s description in its entirety, click its View icon |view|.


    ../../_images/device_network_stats_desc.png

Clearing Search Results and Resetting Search Fields

You can clear and reset what you have searched for by clicking the Reset button. It will clear the search results and reset the search fields to their original values.