11 releases (6 breaking)

0.9.0 Dec 19, 2022
0.8.0 Apr 12, 2022
0.7.0 Nov 23, 2021
0.5.1 May 28, 2021
0.3.2 Jul 22, 2020

#57 in Emulators

Download history 10/week @ 2024-02-22 48/week @ 2024-02-29 16/week @ 2024-03-07 8/week @ 2024-03-14

76 downloads per month
Used in 3 crates

Apache-2.0

350KB
7K SLoC

RTLola logo

RTLola Interpreter

Crate API License

RTLola is a runtime monitoring framework. It consists of a parser, analyzer, and interpreter for the RTLola specification language.

This library crate provides two APIs to evaluate RTLola specifications through interpretation. If you are looking for a ready to use tool try out the rtlola-cli crate, which provides a command line interface to the interpreter capable of parsing csv and pcap files.

For more information on the RTLola framework make sure to visit our Website: rtlola.org

The RTLola language

An example for a RTLola specification is given below:

input a: Int64
input b: Int64

output x := a + b
trigger x > 2

Evaluated on a trace given in CSV format:

a,b,time
0,1,0.1
2,3,0.2
4,5,0.3

the interpreter will produce an output similar to this:

rtlola-cli monitor example.spec --offline relative --csv-in example.csv 
Trigger: x > 2
Trigger: x > 2

Copyright

Copyright (C) CISPA - Helmholtz Center for Information Security 2021. Authors: Jan Baumeister, Florian Kohn, Stefan Oswald, Maximilian Schwenger. Based on original work at Universität des Saarlandes (C) 2020. Authors: Jan Baumeister, Florian Kohn, Malte Schledjewski, Maximilian Schwenger, Marvin Stenger, and Leander Tentrup.

Dependencies

~13MB
~240K SLoC