Querying Report Data
You can specify to display only specific report information in which you are particularly interested. You can show a query as either columns or rows. You can then specify the query criteria.
To perform an advanced query, follow these steps:
- Select the report that you want. To run a report, see Viewing a Report.
- In the Report Result window, click the Advanced Query tool. The Advanced Query dialog box appears.
![]()
- Do one of the following:
- For events reports, specify the query criteria for the device name, event type, item name, description, event details, serial number, Routing Engine, or time.
- For hardware inventory reports, specify the query criteria for the device name, model, hardware name, hardware version, part number, serial number, hardware description, chassis ID, module, submodule, sub-submodule, time created. or time last scanned.
- For licensing inventory reports, specify the query criteria for the device, model, feature name, feature description, free ports used, licenses used, licenses installed, licenses needed, time created, or time last scanned.
- For software inventory reports, specify the query criteria for the device name, model number, Routing Engine on which the software package is installed, software version, package name, package description, time created, or time last scanned.
- Select an Device query operator. Table 29 provides a reference for the query operators you can select.
NOTE: For the like and not like operators, use % as the wildcard for the matching target. For example, bad % would match badlands but not toobadlands. To match toobadlands, use %bAd%. The match is case insensitive.
The like operator applies to columns with a string value such as device, type, item, description, event details, serial number, and Routing Engine in any Events Inventory reports. The like operator does not apply to Time, which has a type of Date.
For more information about using the like operator, see Using the Like Device Query Operator.
- In the Device search text box, type a device name in the Device search text box. You can also click the device name in the report to view all records for
that report.- Select an event Type search operator.
- In the Type search text box, type the event type that you want to see in the Type search text box.
- Select a Time search operator.
- In the Time search text box, type a time. For this procedure, type the current date and time. You can copy a specific date and time from a report and paste it into the search text box.
- Click Submit Query. The criteria you specified is displayed in the Report Result page.
For example, the following is an all events report advanced query.
![]()
The query produces the following report.
![]()