A smarter way to follow files and logs.
npm install -g tailchart
Make the assumption that you have a
config.json file in the current directory.
You can specific the path of the configuration file by using the
tailchart --config mypath/conf.json
Once running, press "r" to reset the value in the different widgets.
At this point in time, tailchart require a configuration file to starts.
When running, tailchart display info of the full surface of the terminal window. You position and size the different widgets by using a grid system.
Below is an example of a valid configuration (comments are automatically stripped out):
Display all the logs line. Optionally:
- trim the N first character of the line (perfect to remove useless prefix)
- display in a specific color lines matching a regular expression
Same functionality as RawLog with the twist that it display only the lines that are matching a regular expression.
Count how many times something happen, and its frequency compare to other match. Perfect to visualize the distribution of error, type of queries, status code, etc
- Read from stdin to allow piping
- Zero config start
- In program UI to add/modify/remove widgets
- Config import (like blue print in Factorio)
- Save / Load config
- Replay logs