For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Multi-criteria search

Multi-criteria search lets you build structured queries across OCS data. Use it when the global search bar is not enough or when you need AND / OR logic.

If you run the same query often, save it. See Saved searches.

Example of a basic multi-criteria search
Example of a basic multi-criteria search

Goal: find assets where OS Name contains windows and OS Version starts with 10.

Create the first criterion

1

Navigate to Inventory → Tools → Multi-criteria search.

2

Define the first criterion.

  • Using the first drop-down, select Assets.

  • For the second drop-down, choose OS Name.

  • In the third drop-down, select contains.

  • In the value field, enter windows.

3

Click Search.

4

Check the results.

Add a second criterion

1

Add a criterion line.

Click the + button at the end of the first criteria line.

A new line appears. You also get a logical operator (AND / OR).

2

Define the second criterion.

  • Set the logical operator to AND.

  • Use the drop-downs to construct your second criterion:

    • For the first drop-down, select Assets.

    • For the second drop-down, choose OS Version.

    • For the third drop-down, select starts with.

    • In the value field, enter 10.

3

Run the search.

Click Search.

4

Review the results.

Matching assets appear in the results table.

Advanced search: groups

Groups let you control precedence. They work like parentheses in SQL.

Each group contains its own criteria lines. Groups are combined with AND or OR.

Advanced search example
Advanced search example
1

Build the first group.

Start from a working basic search. Keep at least one criteria line in the default group.

2

Click Add a search group.

3

Choose how groups are combined.

On the first line of the new group, pick AND or OR. This operator links the whole group to the previous one.

4

Define criteria inside the new group.

5

Click Search.

Grouping results

The Group results checkbox under the search button is checked by default. It keeps your results grouped.

  • If you keep Group results enabled, only one result per asset appears, even if multiple entries for a device match the query. For more detail, click View more results in the Actions column.

  • If you disable Group results, each matching entry appears.

Example queries

  • Assets → OS Name contains Windows

  • AND Software → Name contains Software X

  • AND Software → Major is greater than or equal to 2

  • Assets → OS Name contains Windows

  • AND Assets → OS Version starts with 11

  • AND Template → Build is greater than or equal to XXX

  • AND Software → Name is .NET

  • Group 1

    • Assets → OS Name contains RHEL

    • AND Assets → OS Version starts with 9

  • OR Group 2

    • Assets → OS Name contains Debian

    • AND Assets → OS Version starts with 13

  • AND Software → Name contains package-x

  • AND Software → Major is greater than or equal to X

  • AND Administrative data → Environment contains Production

Last updated