Skip to main content

SLO Search and Filter Logic

Thanks to Nobl9’s Project–Service hierarchy and Search and Filter logic, which enables filtering based on projects in your organization as well as keywords and labels added to services, projects, and SLOs, you can easily customize the set of SLOs displayed in the Grid View. This logic allows you to display only those SLOs you want to focus your attention on.

Filtering Options

There are three filtering options in the Grid View: you can filter by SLO or service name, project, and/or label. The following sections provide details on each.

note

When filtering by SLO/service name or by label, you can see only the SLOs for projects in which you are assigned at least the Viewer role. Similarly, when filtering by project, you can see only projects in which you are assigned at least the Viewer role.

SLO or Service Name

You can enter one or more keywords in the search box in the Grid View to show only those SLOs/services whose names contain those terms. If you enter multiple keywords separated by spaces, the search results must match each of them. Nobl9 looks for the search terms in the Service Name, Service Display Name, SLO Name, and SLO Display Name fields.

In general, an SLO is displayed when its Name or Display Name matches the search phrase(s), or when it belongs to a service whose Name or Display Name matches the search phrase(s). If a service matches the provided search terms, all SLOs belonging to that service are displayed. If an SLO matches the provided search terms, it is displayed regardless of whether its parent service also matches those terms.

warning

An asterisk (*) in the search field in the Grid View is treated as a wildcard. For example, if you enter data (*) in the search field, Nobl9 returns all individual SLOs and all SLOs in any services that contain the word data and any text inside parentheses in their Names or Display Names.

Video 1: Filtering the Grid View by SLO or Service Name

Project

Clicking the arrow to the right of the search box opens up a pop-up menu where you have the option to filter by project or label. You can type a project name in the box, or select one from the list of available projects.

note

You can use a combination of filtering options to narrow your results even further. For advanced filtering, you can select a project, and/or enter one or more keywords, and/or specify one or more labels (as discussed in the following section). If you apply all three filtering options, Nobl9 returns all individual SLOs and all SLOs in any services:

  • that belong to the selected project AND

  • whose names contain the specified keyword(s) AND

  • to which the specified label or labels have been directly applied.

Video 2: Filtering the Grid View by Project and a combination of filtering options

Labels

The other option in the pop-up menu accessible via the arrow to the right of the search box is to filter by label:

  • If you filter by a particular label, Nobl9 returns all SLOs to which that label has been directly applied and all SLOs in any services or projects to which that label has been applied.

  • If you filter by multiple labels with different keys, Nobl9 returns all SLOs to which all of those labels have been directly applied and all SLOs in any services or projects to which all of those labels have been applied. For example, if you specify the labels geo: eu, team: red, and type: service, Nobl9 returns all individual SLOs and all SLOs in services or projects to which:

    • the label geo: eu is applied AND

    • the label team: red is applied AND

    • the label type: service is applied.

  • If you filter by multiple labels with the same keys, Nobl9 returns all SLOs to which any one of those labels has been directly applied and all SLOs in any services or projects to which any one of those labels has been applied. For example, if you specify the labels product_group: a and product_group: b, Nobl9 returns all individual SLOs and all SLOs in services or projects to which:

    • the label product_group: a is applied OR

    • the label product_group: b is applied.

  • You can use a combination of filtering options, but the results must satisfy all the entered criteria. That is, you can use labels with the same and different keys at once. The same keys follow the OR logic, while different keys follow the AND logic.

    • For example, for the labels team: green, team: red, and type: service, Nobl9 returns all SLOs to which the label team: green OR team: red AND the label type: service are directly applied, and all SLOs under any services or projects to which one of those team labels and that type label are applied.
Video 3: Filtering the Grid View by Labels

Labels | Nobl9 Documentation