"Yahi is a python module that can installed with pip to make a all in one static html page aggregating the data from a web server. Actually, as shown with the parsing of auth.log in the documentation, it is pretty much a versatile log analyser based on regexp enabling various aggregation : by geo_ip, by histograms, chronological series. The demo is here. It pretty much is close to awstats which is discontinued or goaccess."
"CSV that can be parsed as regexp There are simple cases when CSV don't have strings embedded and are litteraly comma separated integers/floats. In this case, CSV can be parsed as a regexp and it's all the more convenient when the CSV has no title. Here is an example using the CSV coming from the CSV generated by trollometre A line is made off a timestamp followed by various (int) counters."
Yahi is a Python module installable via pip that produces an all-in-one static HTML dashboard aggregating server data. Yahi provides a regex-based log analyzer capable of aggregations by geo_ip, histograms, and chronological series, comparable to awstats or goaccess. Yahi adapts easily to non-web-log formats and can parse simple CSV files as regex when fields contain only numbers and no embedded strings. The module accepts a hacked date_pattern to parse Unix timestamps ("%s") and demonstrates usage with notch, shoot, and mdict to transform parsed fields into structured JSON and aggregated counters.
Read at Beauty-of-imagination
Unable to calculate read time
Collection
[
|
...
]