Machine-Readable Real-Time Stats

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2022-10-18
Revision
1.0 English

Real-time statistical data are generated in JSON-lines format that is both human-readable and machine-readable. The jsonl format files are the same data as generated by the sfptpd stats_log plain text file.

JSON format stats are updated whenever a change occurs in the sync-instance. JSON files are produced only for active sync-instances. Inactive sync-instances do not produce realtime stats.

Note: With some standard JSON viewer applications it might be necessary to convert the JSON-lines format .jsonl to .json formatted files.