If you are an active user of the DLT-Message-Analyzer plugin - please, spend a few moments to star this GitHub repository. Our team will very much appreciate it!
New features in release v.1.0.29:
Use the HEAD revision to try out the following features:
- Grouped view default application is disabled
- Groups nesting ordering
- Plot legend scrolling
- Regex group name glossary
- Regex text editor with the automatic height adjustment
The DLT Message Analyzer plugin is the perfect tool for anyone looking to increase their analytical capabilities when using the dlt-viewer SW. With this plugin, users can quickly and easily analyze logs, allowing them to gain valuable insights into their data. The plugin is easy to use and provides users with a comprehensive set of features to help them make the most of their data.
The DLT Message Analyzer works in combination with the following source code.
There are the following schemas of deployment:
# | Approach | Diagram | Comment | Used components | Active connection to the target |
---|---|---|---|---|---|
1 | Deploy dlt-daemon on the target device. Forward applications output to the dlt-daemon. Use dlt-viewer on the host machine, to fetch data from the dlt-daemon. Use DLT Message Analyzer for logs analysis inside the dlt-viewer. | DLT Message Analyzer plugin - deployment approach 1 | The classical approach. dlt-daemon is running on the target side, e.g. on the multi-media board inside the vehicle. | dlt-daemon, dlt-viewer, DLT Message Analyzer | + |
2 | Deploy dlt-daemon on the host machine. Connect to the target over the ssh and forward data to the dlt-daemon, using bash or Python "glue-scripting". Use dlt-viewer on the host machine, to fetch data from the dlt-daemon. Use DLT Message Analyzer for logs analysis inside the dlt-viewer. | DLT Message Analyzer plugin - deployment approach 2 | Alternative approach, which allows to connect to the localhost inside the dlt-viewer and get the data without deploying dlt-daemon on the target device. | dlt-daemon, dlt-viewer, DLT Message Analyzer, glue-code | + |
3 | Collect the logs from the target to a text document. Use the DLT Message Analyzer debug console command 'convert-txt-to-dlt-file' to convert any textual data to dlt format. Open the resulting dlt file in the dlt-viewer. Use DLT Message Analyzer for logs analysis inside the dlt-viewer. | DLT Message Analyzer plugin - deployment approach 3 | A simplistic approach for those, who is not interested in fetching data into the dlt-viewer directly from the target. More details on the console commands here. | dlt-viewer, DLT Message Analyzer | - |
Note If you are new to the dlt-viewer and, espacially, to the dlt-daemon, we propose you to use the deployment approach #3.
- Validation of the entered regular expressions with providing human-readable error in case of the wrong input
- Continuous search. The analysis ongoing, while new messages are being received from the target device
- Makes search dramatically fast
- Allows you to easily form groups of the repetitive messages and check trace-spam cases, request-response pairs, number of message occurrences, etc.
- Allows you to quickly get access to the defined "key regex groups" and change their content
- Provides auto-completion functionality
- Advanced highlighting of regex groups
- Possibility to copy-paste highlighted content into your emails to increase their readability
- Possibility to save regex patterns with the human-readable aliases
- Possibility to use combinations of the saved regex patterns, which allows you to instantly form the complex requests. This incredibly increases the speed and quality of the trace analysis!
- Possibility to work with multiple regex configuration files and switch between them. This allows you to use other's domains knowledge in your analysis
- Possibility to search patterns by their aliases
- Analog of the dlt-viewer's search with the extended capabilities
- Possibility to lock the search between the 2 message id-s
- Plugin supports integration with the PlantUML tool, which allows you to create sequence diagrams out of the logs
- Plugin supports integration with the QCustomPlot library, which allows you to create plots out of the logs
- Plugin supports creation of the coverage note and exporting it to JSON and HTML formats
- Extension, which lists the paths & names of all currently opened DLT files
- Debug "console view", which shows debug messages of the plugin and allows you to perform a set of predefined scenarios.
- In addition, console view allows you to convert custom txt files into the dlt format. Thus, you can use dlt-viewer for the projects, which do not use full Genivi DLT infrastructure. E.g. no dlt-daemon or dlt API lib being used.
and many other features