Tian Jiang created IOTDB-199:
--------------------------------
Summary: A simple tool to visualize logs
Key: IOTDB-199
URL: https://issues.apache.org/jira/browse/IOTDB-199
Project: Apache IoTDB
Issue Type: New Feature
Reporter: Tian Jiang
Attachments: IoTDBRuntimReport.zip
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.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)