The JSON-lines formatted stats_log can be read by any standard web browser JSON
viewer application. An example JSON viewer HTML application is included with the
sfptpd
distribution:
/sfptpd-3.2.1.1004/examples/sfptpd_json_parse.html
The JSON viewer can parse the stats_log.jsonl
file in real-time, while sfptpd
is writing to the file, however it is
recommended that the stats_log.jsonl file is rotated
periodically to keep files to a manageable size.
The following is a screen-shot taken from the supplied
sfptpd_json_parse.html
viewer.
You can select measurements to be displayed by the sfptpd_json_parse
viewer by editing fields in the html file.