Pull to refresh

Release of Chipmunk v.3

Level of difficultyEasy
Reading time3 min
Views684

We released the new version of Chipmunk, software for viewing/analyzing log files. V.3 is wholly reworked with an accent to performance and rethought considering usability. Below short list of the most important changes and a general description.


Our primary (currently of course) group of users - developers from the embedded world and especially from the automotive area. That's reasonable, as soon as they have a deal with specific log formats and huge data. One, let's say, DLT (Diagnostic Log and Trace) file in 10Gb - usual case and some kind of tool, which is able to quickly open and search, is needed.

At the same time, I'm sure, chipmunk would be a useful tool for some trivial reasons:

  • opens any size files without troubles and lags

  • quickly search by regular expressions or simple matches

  • remembers filters and searches

  • builds charts with regular expressions and quickly browsers them independently on the amount of data

Of course, it's just a small part of Chipmunk's features. I will not bother you with a full list of functionality and focus on the most important updates of Chipmunk v.3.

Home screen

Chipmunk v.3 comes with a "Home screen". The place where are shown recent user's actions, a browser of files via favorites places, and a quick access menu.

A recent user's action isn't only a recently opened file, but a recent connection or recently done concatenation operation. All of it Chipmunk remembers and allows you to quickly back to the previous session via "Home screen" or with Ctrl/Command + P.

Charts

As soon as all operations/calculations happen in a core (written in rust), Chipmunk v.3 became much less dependent on the amount of data. Of course, a GIF animation with 10 fps doesn't allow you to see how smoothly the chart's render works and I strongly recommend trying it by yourself.

How to create a chart?

It's easy. You should create a regular expression with a group. Let's say you have in your logs something like CPU=45,99% and you would like to extract all CPU values and see its changes on a chart. To cover this, you can use a simple regular expression with a group CPU=(\d{1,},\d{1,}).

Breadcrumbs

One more new feature - breadcrumbs. It's trivial and at the same time very useful. Chipmunk mixes search results and the rest content of the file/stream. It allows us to see things right after the match and before it.

Streams mixing

Another feature - is the mixing of streams. For example, you are welcome to spawn a couple of terminal commands and see mixed output in the scope of one session. Chipmunk puts chunks of each stream in the same order as it comes and highlights it with individual colors to better understand a source of data.

You can mix any kind of stream with only one restriction, it should require the same parser. You cannot mix DLT stream with plain text output from a terminal command. But you can mix, for example, output from serial port and terminal command.

By the way, about terminal commands. Chipmunk not only reads output but also allows you to “drop” something into it. Same for other streams, like serial port - you are able to write into it.

One more update - Chipmunk v.3 comes with an updated manager of a stream. You can configure the source and parser as well.

Filters, charts, and presents.

Chipmunk not only remembers your search conditions of the chart's rules but also suggests reusing of it. Let's say you opened a file with extension *.log. Next time you open a file with the same extension, Chipmunk will suggest recently used filters for the same type of file. Same for terminal commands and connections - Chipmunk will restore filters/charts that you've already used with the same connection/command.

I think that's all. It's the most important changes coming with v.3

Unfortunately, because of limited resources, some features of v.2 weren't included in Chipmunk v.3.

  • time measurement between lines of log

  • merging of files by timestamp

  • comments in logs

We would be happy to put back these features and add new ones, but how fast it can happen - depends on your support. I would remind you, Chipmunk v.3 is a fully open-source project. And that's very important to get your feedback and support. To support us would be enough to leave a star on our GitHub page. Last time (~2 years ago) we've gotten ~200 stars as your support and now we have Chipmunk v.3.

Believe me, this trivial action really influences the future of the project and how intensively it's developed.

Thanks for your time. I will be happy to answer your questions.

I wish you to be in a great mood and log without errors.

Tags:
Hubs:
Total votes 1: ↑1 and ↓0+1
Comments2

Articles