Skip to content

Configuring diagnostic settings

Diagnostic Settings

This section contains the configurations related with logging. To perform a diagnostic settings change, follow these steps:

  1. In "Asset" tab, select the asset.
  2. Open MindConnect plugin.
  3. Click Settings, next to "Onboarding Status".
  4. In “Diagnostic Settings” section, make the changes in Auto Log Upload or Log Level.

    diagnostic-settings-configure

  5. Click “Save”.

Auto Log Upload

If Auto Log Upload is enabled, the device is going to upload all generated logs to MindSphere periodically. Log upload functionality for the device is enabled by default.

Note

If Auto Log Upload is disabled, MindConnect device stops logging and uploading log files. However, there are some third party applications that keep logging on device. These logs will be uploaded when Auto Log Upload is enabled again.

Log Levels

Log level represents the log level of MindConnect device. There are five possible log levels, and the hierarchy is as follows in lowest (TRACE) to highest (ERROR) priority. In “TRACE” mode, the device will log extensively and in “ERROR” mode device will only log error messages.

log-level

The selected log level and logging mechanism works as logging only selected level and the higher levels.

Log level is set to “INFO” by default.

Note

Auto Log Level Change

  • “TRACE/DEBUG” log levels provide more verbose logs which will be helpful to troubleshoot issues, however they produce more files. If the log level is set to “TRACE/DEBUG”. It will be automatically changed to INFO after one day.
  • Auto log level change operation will not be synchronized with the asset’s device configuration.

MindSphere Remote Services Integration

The integration of MindSphere Remote Services to MindConnect IoT2050 aims to provide solution for accessing factory related device via IoT2050. There are plenty of different services and protocols offered by MRS to connect to the field devices and data. For more information on MRS application, refer to MindSphere Remote Services documentation.

To integrate MRS application with MindConnect IoT2050, follow these steps:

  1. Create asset.

    Note

    To create an asset, see Creating an asset for MindConnect IoT2050.

  2. Onboard agent.

    Note

    To onboard an agent, see Overview of onboarding MindConnect IoT2050.

  3. Link asset id with MRS application.

  4. Enable MRS Services on the agent using toggle button and configure use cases in MRS applications.
  5. Click "Save".

Warning

  • Be aware that enabling MRS application might effect on the time-series data transfer. Ensure that MindConnect IoT2050 is able to perform operations smoothly via Operations Insight occasionally.
  • MRS Application does not support proxy authentication, thus enabling the proxy authentication will disable the MRS application if it is enabled.
    mrs-not-enabled

Notice

  • Starting or stopping MRS application is an asynchronous task, during this ongoing phase the toggle on or off operations will be neglected.
  • MRS application itself has a separate management system of devices, the user needs to create a device on MRS application and associate it with MindConnect IoT2050’s asset via their id’s. Thereafter, user can be able to enable the application from the MindConnect element UI.
    mrs-device-not-created
  • If the MRS application is not provisioned for the customer tenant then the user will not be able to enable the application and will see the below message on MindConnect element UI. To provision the application contact MindSphere Support Team.
    mrs-not-supported

Any questions left?

Ask the community


Except where otherwise noted, content on this site is licensed under the MindSphere Development License Agreement.


Last update: January 25, 2023