Relative Date Filtering in Reporting

Overview

Relative date filtering allows you to target results based on a period of time relative to another date. Dates can be compared to the current date, such as within the last 30 days, or compared to a future or past date using comparison operators like is equal to or is greater than.

With the latest release of Reporting, relative date filtering can be applied to the date columns in select sensors:

  • Comply – CVE Findings First Found

  • Comply – CVE Findings Absolute First Found

  • Comply – CVE Findings Last Found

  • EID Last Seen

  • Sensors where the value of the date column is typed as Date/Time (RFC822 or WMI) in the sensor definition and formatted to match the declared type.

Available comparison operators for filtering by date:

  • is equal to

  • is less than

  • is less than or equal to

  • is greater than

  • is greater than or equal to

  • *within the last

  • *not within the last

  • *within the next

  • *not within the next

  • **contains

  • **does not contain

  • **matches regex

  • **does not match regex

*Newly added operators

**Operators that disable targeting for action deployment and drilling down in Interact

This article will cover two common use cases that utilize relative date filtering.

Use Cases

Offline Endpoints

By searching for endpoints with an EID Last Seen date that is not within the last day, we can easily see which endpoints are no longer online.

  1. Navigate to Data > Explore Data.

  2. Add the Computer Name and EID Last Seen sensor columns.

  3. Verify the results are flattened by the Computer Name sensor.


    Relative Date Filtering in
    .
  4. Add a row filter choosing the sensor EID Last Seen.

  5. Select the operator not within the last.

  6. Enter 1 and select the day timeframe.

  7. Click the checkmark to apply the changes to the report.


A screenshot of a computer Description automatically generated
Note:

The results will be limited to endpoints that were previously online but have not responded in the last 24 hours.

Endpoints with Vulnerabilities Over 30 Days Old

The Comply – CVE Findings – First Found sensor can be used to find existing vulnerabilities that are over 30 days old.

  1. Navigate to Data > Explore Data.

  2. Locate the Comply – CVE Findings – First Found sensor and add the First Found - CVE and First Found – Date columns.

  3. Add the Computer Name column.

  4. Verify the results are flattened by the Comply – CVE Findings – First Found sensor.


    Relative Date Filtering in
  5. Add a row filter and select the sensor Comply – CVE Findings – First Found.

  6. Select the First Found – Date column, then select the operator not within the last.

  7. Enter 30 and select the day timeframe.

  8. Click the checkmark to apply the changes to the results.


A screenshot of a computer Description automatically generated
Note:

The results will be limited to endpoints with vulnerabilities that were discovered more than 30 days before the current date.

Additional Resources

Working with Reports