v5.0_PTP Status

GET es/ptp_statistics_short/_search

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Return the PTP status through elastic search.

Resource URL

https://{{ip_address}}:{{port}}/es/ptp_statistics_short/_search

Example Request

GET

  1. https://192.168.10.53/es/ptp_statistics_short/_search

{ "took": 0, "timed_out": false, "_shards": { "total": 1, "successful": 1, "skipped": 0, "failed": 0 }, "hits": { "total": { "value": 2, "relation": "eq" }, "max_score": 1, "hits": [ { "_index": "ptp_statistics_short", "_type": "_doc", "_id": "3cb02d541b77973f12a037186f2fd215", "_score": 1, "_source": { "domain": 127, "type": "PtpStatistics", "clock_accuracy": null, "protocol": "1.0", "configured": true, "@timestamp": "2022-03-08T07:14:22.719Z", "network": "2a62e295-f305-4d98-b6bb-237467f2221d", "grandmaster_id": null, "sourceport_id": null, "delay": null, "proccessed_us": 1646723662719000, "device": "92081df8-f78d-418e-92b7-87fdab283cd8", "offset": null, "priority1": 0, "time_source": null, "steps_removed": 0, "source_ip": "-", "last_announce_time_us": 0, "utc_offset": 0, "clock_class": null, "@version": "1", "mcm-version": "5.6.9rc5", "announce_interval": 0, "locked": false, "iface": "eth0", "interface": "92081df8-f78d-418e-92b7-87fdab283c00", "clock_variance": 0, "selected_by_bmca": false, "network_label": "Nic1", "priority2": 0, "timestamp_us": 1646723507789323, "clock_offset": 0 } }, { "_index": "ptp_statistics_short", "_type": "_doc", "_id": "e1a84fccfadd2f5abd71873a39fe0487", "_score": 1, "_source": { "domain": 127, "type": "PtpStatistics", "clock_accuracy": null, "protocol": "1.0", "configured": true, "@timestamp": "2022-03-08T06:45:19.341Z", "network": "2a62e295-f305-4d98-b6bb-237467f2221d", "grandmaster_id": null, "sourceport_id": null, "delay": null, "proccessed_us": 1646721919341000, "device": "2102d188-f7b1-4d6a-a8b4-1bd10653c31b", "offset": null, "priority1": 0, "time_source": null, "steps_removed": 0, "source_ip": "-", "last_announce_time_us": 0, "utc_offset": 0, "clock_class": null, "@version": "1", "mcm-version": "5.6.9rc5", "announce_interval": 0, "locked": false, "iface": "eth0", "interface": "2102d188-f7b1-4d6a-a8b4-1bd10653c300", "clock_variance": 0, "selected_by_bmca": false, "network_label": "Nic1", "priority2": 0, "timestamp_us": 1646721764760552, "clock_offset": 0 } } ] } }