The JSON-lines formatted stats_log can be collected from sfptpd for aggregation by
collectd. An example script is included with the sfptpd
distribution:
/sfptpd-version>/examples/sfptpd_stats_collectd.py
For details of how to install and customize the script, refer to the comments at its start.