Publish Log
The Publish Log action publishes a log message for the specified thing by sending a log.publish TR50 command to the deviceWISE Cloud.
Parameter descriptions
Parameter
|
Description
|
---|---|
Command Aggregator | An option to use the Command
Aggregator when this command is sent to the
deviceWISE Cloud. The options are Trueor False. For more information, see TR50 Command Aggregator. |
S&F Profile | The S&F profile to use if the
data from the action can not be sent to
the deviceWISE Cloud.
If the default "None" is selected, then the optional TR50 S&F feature will not be used for this action If the data for this action is stored in a S&F queue, then the action's Store and Forward Route will be used to determine the next action to execute. For more information, see TR50 S&F Profile Management tab. |
Input tab
Input | Description |
---|---|
ThingKey | (Optional) The thing key. If not specified, the thing key for the gateway is used. |
Correlation ID | (Optional) The correlation identifier to be associated with the event log entry. |
Timestamp | (Optional) The timestamp to be
associated with the event log entry.
Defaults to the current time.
If the timestamp is not included, the time the action is executed is used. |
Level | (Optional) The event log level. Defaults to 2. The log levels are 0 (Error), 1 (Warning), and 2 (Information). |
Global | (Optional) If set to true, the event log entry is global. Otherwise it will be associated with the thing identified by the ThingKey. |
Message | The message text to include in the event log entry. |
Connection Name | The TR50 connection name of the
connection to perform this action
on.
(Optional) If not specified, the name of the connection used is Default. |
Output tab
Output | Description |
---|---|
Error Message | If the action is not successful, an error message indicating the problem is returned. |