Greetings,
Usually, the very first thing we will do on finding a bug is to search the logs. Logs play a vital role in debugging especially in some environment that attaching a debugger is impossible. In such circumstance, logs will hopefully become the only information sources for the developers. However, a single log, which is just a string, is easy to understand. But when it comes to mining information from thousands of logs or even more, getting lost is nearly unavoidable, since humans have a much limited memory for exact truth compared to computers. From time to time, I forget what I have read before and I must go back to review the previous logs, as a result, progress is made very slowly. Reading several strings is easy, but when we have thousands, there must be some better way to present them than raw text. So, I keep thinking it would be much better if we can make the logs into plots. Of course there must some existing tools, but they are often powerful but too heavy (like Kibana) , or specialized for web or other logs (like LogStalgia). Having a fantastic web interface is great, but a simple but handy suit us better. What I want is something light-weighted, stand-alone and highly customized. As a result, I developed a simple tool that can visualize (plot) logs generated by IoTDB (with some modification, it can be applied to other type of logs, too) and generate report. I designed a simple GUI which provides full functionalities and a command line tool to fast generate reports. The attachment contains an example report I generated from one of my experiments, which reveal interesting things like how the size of memtables converges over time. I may have missed some tools that are more powerful or easier to use. If you know any, please inform me and I shall see what I can learn from them. | | Tian Jiang | | jt2594...@163.com | 签名由网易邮箱大师定制