Post Local Log


Post Local Log node posts the device local logs.

Node Type

EnOS.

Input and Output Ability

This node has multiple entry points and 2 exit points (success/failure).

Node Properties

../../../_images/post_local_log.png


Name

The name for this node.


Description

The description for this node.

Samples

Input Sample

{
  "MetaData": {
    "messageType": "PostLocalLog",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "ts": "1654592771987"
  },
  "Body": {
    "time": 1654592771860,
    "logs": {
      "traceId": "traceId",
      "level": "info",
      "module": "name",
      "content": "json type"
    }
  }
}

Output Sample

{
  "MetaData": {
    "messageType": "PostLocalLog",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "componentResult": "Success",
    "ts": "1654592771987"
  },
  "Body": {
    "time": 1654592771860,
    "logs": {
      "traceId": "traceId",
      "level": "info",
      "module": "name",
      "content": "json type"
    }
  }
}