5.4.2 Timeframe

The timeframe is a special filter expression to specify a time period ranging from the current local time to some point in time in the past (see figure Timeframe configuration). What is used as the current local time depends on the Automatic update check box. If the Automatic update check box is not ticked the current local time is determined only once when the OK button is pressed.

Timeframe configuration
Timeframe configuration

When the check box Automatic update is ticked the current local time is determined for the first time when the OK button is pressed but the time is updated when the analyze functions are reapplied, e.g. if you want to display only the log records of the last 10 minutes you have to add the timeframe to a record filter, tick the Automatic update check box in the Timeframe dialog and configure Ascolog Insight to automatically refresh the Log window. The starting time of the timeframe is relative to the current local time and can be configured in the Current local time minus field. You can also configure the time unit that shall be used.

A timeframe node used as filter expression of a record filter in the Functions tree is shown in figure Record filter which uses a timeframe filter expression.

 Record filter which uses a timeframe filter expression
Record filter which uses a timeframe filter expression

The filter expressions timeframe and RANGE can also be added directly under the ROOT node (as shown for the RANGE node in figure Functions tree in section Working with the Functions Tree). In this case all log records which do not match the filter expression are not hidden but displayed with a white background.