Configure the filters
- Last UpdatedNov 26, 2024
- 2 minute read
Filter in the Utilization control is done through a filter dialog box, allowing the user to set time-based, event state, minimum duration, and status filters. Any combination of these types of filters can be used.
Time-Based
The Time-Based filters are Last N Events, This Shift, Last Shift, and Last N Hours. The time-based filters determine what events are shown by limiting the events to those that occur within the time frame set.
Event State
The Event State filter can be either Unacknowledged, Acknowledged, or both.
Minimum Duration
The Minimum Duration filter specifies that only events that have duration at least as long as this filter are shown. For example, a minimum duration of 15 will show only those events that lasted at least 15 seconds.
Status
The Status filter can be either Run Time, Downtime, Neither, or All. This filter is used to filter data by utilization state. A description of the current filter will be displayed in the control, so the user will always know what filter criteria are being used.
The filter dialog box can be opened either by calling the Filter() method or by clicking the Filter button on the button bar associated with the Utilization control. The values for each type of filter that is to be used to filter the data displayed are then set using combo boxes to select valid values or entering integer values for those filters based on a numeric value. Clicking OK applies the filter values to the data displayed. The filter values can be saved to the configuration or to the default configuration for the Utilization control through the context menu of the Utilization control. The FilterDefaultsFromDB property must be True to save the filter values to the default configuration.
Clicking OK on the filter dialog box will only apply the filters for the current display. They will not be saved to the configuration unless saved through the context menu command.