Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

Using Aggregation

Aggregation allows a REST resource to be aggregated on a Prime Operations Center server from multiple managed Prime Infrastructure instances. Check the documentation to see if it supports Aggregation.

Aggregation Syntax

Operations Center aggregates data from all reachable managed Prime Infrastructure instances by default. Operations Center does not aggregate data from deactivated and unreachable instances. You can also aggregate data from specific Prime Infrastructure instances by using the following query parameter:

.instance

The following example retrieves data from a single managed instance:

../webacs/api/v4/data/Devices?.instance="192.168.1.1"

The following example retrieves data from managed instances that contain "100" in their IP address:

../webacs/api/v4/data/Devices?.instance=contains("100")

The following example retrieves data from managed instances that contain "ncs" in their host name:

../webacs/api/v4/data/Devices?.instance=contains("ncs")

The following example retrieves data from managed instances that contain "New York" in their alias:

../webacs/api/v4/data/Devices?.instance=contains("New York")

It is possible to use IP address or host name or instance alias to enable filtering by managed instances. This query parameter has string type. Please see documentation for detailed information on filtering.