Log Message

Prev Next

Display a log message as colored and formatted text.

Log Message

This filter is used to prints out a log messages directly published by the machine.

A log message must be a JSON encoded string like this:

{"severity": "INFO", "type" : "STATUS", "details": "Oven ready for cooking"}
{"severity": "CRITICAL", "type" : "ERROR", "details": "Error start cooking"}

The severity must be DEBUG, INFO, WARNING, CRITICAL, FAILURE (default INFO).

Generally, this filter is used within the Multi Metric List widget to display a view on the machine log events.

<multi-metric-list-widget>
   <metric name="Log" label="Log" filter="logMessage"></metric>
</multi-metric-list-widget>

Filter Variants

The set of predefined filter variants that can be used to format values.

Log Message

Display a log message as colored and formatted text.

Name: logMessage

Input Types: STRING, JSON

Output Type: HTML