Search and Filter in NetOps Portal

Locate managed items using the search controls that
NetOps Portal
includes, such as Global search.
Global search locates items in
NetOps Portal
. For high scale environments, you can limit the scope and improve performance using the search controls that
NetOps Portal
includes.
In this article:
Global Search
Global searches return lists of the items in the inventory that match the search string. The lists are sorted by item type (such as devices, interfaces, device components).
To perform a global search, click
Search
(the magnifying glass) at the top of any page. The following image shows an example of the global search bar:
Global_Search_bar
Global_Search_bar
By default, the global search is set to search only device and interface names that contain the search string (Scope: Names).
To widen the search scope and search all managed items (for example, to search for tunnels) or search across other identifying information about an entity (for example, to search for ip-addresses) by selecting
Scope
in the search box, and then selecting
Search All
(Scope: All) from the drop-down. The following image shows the drop-down:
Global_Search_dropdown
Global_Search_dropdown
Limit Global Search
You can limit the search scope in the
Search All
context using filter expressions. In the most basic form, the filter expression uses the following syntax:
ViewName:ColumnName=value
To search multiple views or columns, use the following syntax:
ViewName1:Column1;ColumnN&ViewName2:Column1;ColumnN=value
Filter Expression Examples
The following are examples of filter expressions you can use to limit the search scope:
Example: Search Devices Containing the String ‘foo’ Anywhere in the ‘Name’ Column
Use the following search expression:
Devices:Name=foo
Example: Search Interface Names or Descriptions and Devices that Include ‘foo’
Use the following search expression:
Interfaces:Interface Name;Description&Devices:Name=foo
Example: Search All Views
Use the following search expression:
Name;Description=foo
If the view does not include these columns, the expression searches all columns of this view.
Example: Search All Columns for a View
Use the following search expression:
Interfaces:*=foo
Use Wildcards in Filter Expressions
By default, global search searches for text that is contained in an item string. For example, searching for 'foo' or 'oo' returns ‘Foo’ as a result. To narrow or broaden your search, for example, to locate column names, add the asterisk (*) wildcard character to the filter expression.
You can search within interfaces view columns that contain ‘Name’--such as “Name Alias”, “Interface Name”, “Device Name Alias”--using the following filter expression:
Interfaces:*Name*=value
Using asterisks at the beginning and end of a keyword (‘contains’ searches), for example ‘*Name*’, is equivalent to entering ‘Name’ as the search string.
‘Starts with’ searches can return quicker results than ‘contains’ searches. For example, ‘foo*’ (starts with ‘foo’) executes faster than the ‘*foo*’ (contains ‘foo’) search.
To narrow the search, add multiple search words. For example, searching for devices using the ‘server 192.168*’ search string returns all servers on the 192.168.0.0/16 network.
Other Wildcard Examples
  • Return all rows with entries that start with 'serv':
    serv*
  • Return all rows with entries that end in ‘erver’:
    *erver
  • Return all rows with entries that start with ‘fo’ and end with ‘200’. For example, the following filter expression returns ‘Foo_5976_10.92.200.200’, but it does not return ‘Foo_5976_10.92.200.201’:
    fo*200
  • Return all rows with entries that:
    • Start with ‘fo’
    • Contain at least one character following 'fo'
    • Contain '200'
    • End with any character
    fo*200*
Quick Filter
You can limit the contents of many table views to only those items that contain the search criteria that you enter using the quick filter. Quick filtering a table (for example, an inventory table that shows devices) is similar to performing a global search and looking at the results for that kind of managed item.
The following image shows an example of a quick filter:
quick_filter
quick_filter
To quick filter a table view, type the search string into the quick filter box, and then either click filter (the funnel icon) or press the Return key on the keyboard.
To clear a quick filter, delete the search term, and then click filter (the funnel icon) or press the Return key on the keyboard.