ALEC Architecture
ALEC provides a framework for developing correlation systems.
![Correlation system architecture diagram; displays the high-level components and directionality of communicated data](../_images/architecture/architecture_components.png)
Figure 1. Correlation system architecture diagram
A datasource interacts with the monitoring system (in this case, OpenNMS) and maintains a feed of alarms, inventory objects, and situations. Datasources also create situations in the monitoring system. ALEC offers two datasources: the direct datasource, and the Kafka datasource.
The correlation engine links alarms to network inventory objects.
A driver connects the datasource to the engine. We provide a main driver for real-time processing with ALEC, as well as a test driver for testing and training the machine-learning algorithms.