Alert Table

Overview

The Alert Table displays a continuously updated list of open alerts or messages, filtered by entity, rule/metric name, and minimum severity.

The rows in the table are color-coded based on the severity of the underlying record.

[widget]
  type = console
  source = alert
  entity = nurswgvml007

Data Source

Widget Settings

  • The settings apply to the [widget] section.
  • Common [widget] settings are inherited.
  • Common Table [widget] settings are inherited.

Filters

Name Description
source Source of records.
Possible values: alert, message.
Default value: alert.
Example: source = message
entity Entity name or pattern.
Multiple values can be specified.
Example: entity = nurswgvml007
rule Rule name.
Multiple values can be specified.
Example: rule = accepts_counter
metric Metric name.
Multiple values can be specified.
Example: metric = cpu_busy
min-severity Minimum severity level.
Possible values: 0-7 or UNDEFINED - FATAL.
Example: min-severity = ERROR
severity Severity codes or names to filter records.
Multiple values can be specified.
Possible values: 0-7 or UNDEFINED - FATAL.
Example: severity = 6

Date Filter

Date interval filters such as timespan are applied to the openDate field in alerts and to the date field in messages.

Style

Name Description
class Display the table as console with black background.
Possible values: terminal.
Example: class = terminal
severity-style Apply severity color to a single column or entire row.
Possible settings: row, column.
Example: severity-style = row
row-style CSS style applied to the entire row.
Can be specified as text or a JavaScript expression.
Can be used to filter records.
Example: row-style = if (value <= 100) return 'display: none'
on-click Built-in or custom function triggered on click.
Example: on-click = filter()

Default Columns

The list of default columns depends on the source setting:

  • message columns: Severity, Time, Entity, Type, Source, Tags, Message
  • alert columns: Severity, Open, Changed, Count, Entity, Rule, Metric, Tags, Text

To display tags as separate columns, set expand-tags setting to true.

Examples

Difference Sources

Audio Alert

Row Severity