1. A method of configuring key performance indicators for monitoring and testing a network, comprising the steps of: defining a set of rules matching one or more events and defining one or more operations mapping the one or more events to one or more key performance indicator (KPI) events; defining an aggregation set of rules defining one or more aggregation operations performed on the one or more KPI events generated over a time period; monitoring a plurality of events generated by one or more devices in the network; matching an event from the plurality of events with the set of rules; generating one or more name-value pairs based on the set of rules and the event to create a KPI event; and aggregating the KPI event with other KPI events generated over the time period.