Global Search Overview
The global search field on the Junos Space Network Management Platform UI helps you to quickly locate objects within Junos Space Platform. When you search for an object by using global search, Junos Space Platform performs a full-text search operation for objects within Junos Space Platform, and displays the matches found.
The search results are filtered on the basis of your Role-Based Access Control (RBAC) permissions, such as the tasks that a user is allowed to perform and the domains to which a user is assigned. For example, users are shown results only for tasks for which they have the appropriate permissions or results related to domains to which the users are assigned. For more information about RBAC permissions, see the Role-Based Access Control Overview topic (in the Junos Space Network Management Platform Workspaces User Guide).
The search is performed and the results are displayed based on how the Junos Space Platform objects are indexed. Table 1 lists the indexed objects on which you can perform a search operation by using the global search feature.
Junos Space Platform monitors its database at regular intervals to identify new objects that need to be indexed. The default interval is set to five seconds.
An administrator can configure the refresh interval from the Administration workspace. For more information about configuring the refresh interval, see the Index auto update interval in seconds parameter in Modifying Junos Space Network Management Platform Settings (in the Junos Space Network Management Platform Workspaces User Guide).
An administrator can also refresh the search index manually from the Administration workspace by navigating to Administration > Applications > Network Management Platform and selecting Refresh Search Index from the Actions menu.
Object Category |
Indexed Fields (Category) and Description |
---|---|
Device |
|
Physical interface |
|
Logical interface |
|
Device physical inventory |
|
Software inventory |
|
Tags |
name—List of tags assigned to an object |
Audit log |
|
Job |
|
Configlets |
|
Configuration View |
|
Scripts |
|
Templates |
|
Template Definition |
|
Xpath and Regex |
|
Images |
|
Report Definitions |
|
Generated Reports |
|
Configuration Files |
|
User Accounts |
|
If you are searching for entries in Junos Space Platform on the basis of the date or time field, the correct search results are not returned if the comma (,) or the colon (:) characters are part of the search string.
For example, to search for Nov 10, 2016 6:21:33 AM, enter the following search string: Nov 10 2016 6 21 33 AM. An exact match is returned if found; otherwise, merged results that match any of the parts of the search string are returned. In this example, if an exact match, Nov 10, 2016 6:21:33 AM, is not found, the search results will return all entries that match any of the space-separated parts of the search string, for example, Nov 9, 2016 7:37:21 AM, Jun 10, 2016 6:21:14 PM, and Nov 4, 2015, 2:12:45 PM.
Date and time search works only if both the Junos Space server and the user executing the search are in the same time zone.
The global search operation also supports query expressions. You can search for phrases and multiple terms. The default operator for multiple terms is the OR operator.
When you enter a query expression, be aware of the following:
You must add a back slash “\” if you want to use the following special characters in the search text:
+ && || ! ( ) { } [ ] ^ “ ~ * ? : \-_
Field names are case-sensitive. To search within a specific field, the search syntax is:
“<Indexed field or column name>:<search text>”For example, if you have a few systems running on Junos OS 12.3 Release 4.5, then “os: 12.3R4.5” returns search results, whereas “OS: 12.3R4.5” does not return search results. This is because the field name that is indexed is “os” and not “OS.” Another example to search for information pertaining to the Junos EX Series devices is to enter “deviceFamily:junos-ex” in the Search field.
If you want to search for a term that includes a space, enclose the term within double quotation marks.
For example, to search for all devices that are synchronized (that is, In Sync), enter “In Sync” in the Search field.
You must append "*" if you want to search using partial keywords. Otherwise, the search returns 0 (zero) matches or hits.
Table 2 provides examples of query expressions that you can enter in the Search field.
Query Expression |
Matches Objects That Contain |
---|---|
snmp |
snmp |
snmp ntp |
snmp or ntp |
snmp OR ntp |
snmp or ntp |
snmp AND ntp |
snmp and ntp |
protocol:snmp |
snmp in the protocol field |
protocol:snmp AND NOT subject:snmp |
snmp in the protocol field but not in the subject field |
(snmp OR ntp) AND http |
http and the terms—snmp or ntp |
description:“http server” |
Exact phrase “http server” in the description field |
description: “http server”~5 |
http and server within five positions of one another in the description field (that is, http and server need to have no more than 5 words in-between them) |
ge-* |
Terms that begin with “ge-,” such as ge-0/0/1 or ge-0/0/1.4 |
s??p |
Terms such as smtp or snmp |
lastmodified:[1/1/2012 TO 12/31/2012] |
Last modified field values between the dates January 1, 2012 and December 31, 2012 |
port:(80 8080 8888) |
80, 8080, or 8888 in the port field |
IPAddress:10.1.1.1 |
10.1.1.1 or 10.1.1.0/24 in the IPAddress field |