DLT – Storage Backend¶
The DLT-backend plugin is currently a PoC to evaluate how to forward elos
events to a Diagnostic Log and Trace infrastructures. It uses the
/src/libelosdlt/
client protocol implementation.
Configuration¶
The configuration of the DLT storage plugin follows the usual pattern. To add an instance of a DLT storage backend add an entry like the following in the /root/elos/EventLogging/Plugins section in your elos configuration.
64 "Run": "always",
65 "Filter": [
66 "1 1 EQ"
67 ],
68 "Config": {
69 "ConnectionPath": "/tmp/elos.sqlite"
70 }
71 },
72 "DLT": {
73 "File": "backend_dlt_logger.so",
74 "Run": "always",
Connection: the connection string used to connect to a DLT daemon (currently only a path to DLT-pipe is supported)
EcuId: The ECU ID to be used in the log message.
AppId: The Application ID to be used in the log message.
You can find this example in /src/elosd/config/elosd.json
.
Build¶
The plugin is build if ELOSD_EVENTLOGGING_BACKEND_DLT is defined in cmake.