Comparison operators
Operator | Description | Slot types |
---|
== | Events are listed only if the slot value matches the comparison value. | Enum, String, Number, List of String |
!= | Events are listed only if the slot value does not match the comparison value. | Enum, String, Number, List of String |
> | Events are listed only if the slot value is greater than the comparison value. | Enum, String, Number |
< | Events are listed only if the slot value is less than the comparison value. | Enum, String, Number |
>= | Events are listed only if the slot value is greater than or equal to the comparison value. | Enum, String, Number |
<= | Events are listed only if the slot value is less than or equal to the comparison value. | Enum, String, Number |
Has prefix | Events are listed only if the slot value starts with the comparison value. | String, Number |
Has suffix | Events are listed only if the slot value ends with the comparison value. | String, Number |
Contains | Events are listed only if the slot value contains the comparison value. | String, Number, List of String |
Within | Events are listed only if the slot value is an exact match with one of the comma-separated list of comparison values. | String, Number, List of String |
Contains one of | Events are listed only if the slot value is an exact match with one of the comma-separated list of comparison values. | String, Number, List of String |
Outside | Events are listed only if the slot value does not match with any of the comma-separated list of comparison values. | String, Number |
Matches | Events are listed only if the slot value contains the comparison value. You can provide the following parameters in addition to the comparison value: %d - decimal integer number %f - floating point real number %c - single character %s - string value Consider the following example values in the message slot of eight events: Event 1 | Memory Consumption - 10 MB – on machine clm-dev-008700 | Event 2 | CPU utilization 85.35% – on machine clm-dev-007890 | Event 3 | Memory Consumption - 5 MB – on machine clm-dev-108781 | Event 4 | CPU utilization 75.95% – on machine clm-dev-087654 | Event 5 | Memory Consumption – 894 MB – on machine clm-dev-54657 | Event 6 | CPU utilization 68.45% – on machine clm-dev-37878 | Event 7 | Consumption of storage space is high on vm-dev-45 machine | Event 8 | Utilization taking higher trend |
When you use the matches operator for the message slot: - Message
matches Consumption – %d Events 1, 3, and 5 are displayed, as the following criteria matches: Consumption as a constant and an integer variable listed after Consumption. - Message
matches machine %s Events 1, 2, 3, 4, 5, and 6 are displayed as the following criteria matches: machine as a constant and a string variable listed after machine.
| String, List of String |
Subclass of | Events are listed only if they are a subclass or child class of the provided class. | Class |
Superclass of | Events are listed only if they are a super-class or parent class of the provided class. | Class |
1 Comment
Ellen Coleman
Harihara Subramanian Hey Harihara this needs to be included in the currently supported versions of the doc please.