v5.0_NTP Status

GET es/ntp_statistics_short/_search

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Return the NTP status through elastic search.

Resource URL

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

Example Request

GET

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

{ "took": 523, "timed_out": false, "_shards": { "total": 1, "successful": 1, "skipped": 0, "failed": 0 }, "hits": { "total": { "value": 4, "relation": "eq" }, "max_score": 1, "hits": [ { "_index": "ntp_statistics_short", "_type": "_doc", "_id": "37247a58db12f3e5e6b241f5a2e2f2a6", "_score": 1, "_source": { "type": "NtpStatistics", "protocol": "1.0", "@timestamp": "2022-03-08T09:51:06.861Z", "@version": "1", "proccessed_us": 1646733066861000, "mcm-version": "5.6.9rc5", "device": "92081df8-f78d-418e-92b7-87fdab283cd8", "uuid": "79aba7c7-d17b-4d4f-a54d-04a44132f563", "status": "No reply received in time. Next query in 6 secs", "label": "NTP", "timestamp_us": 1646732908079445, "clock_offset": 0 } }, { "_index": "ntp_statistics_short", "_type": "_doc", "_id": "5bb72f41d290a1691ee7023b533194eb", "_score": 1, "_source": { "type": "NtpStatistics", "protocol": "1.0", "@timestamp": "2022-03-08T09:51:07.863Z", "@version": "1", "proccessed_us": 1646733067863000, "mcm-version": "5.6.9rc5", "device": "92081df8-f78d-418e-92b7-87fdab283cd8", "uuid": "7d9021f8-7a35-487f-a8d3-78799637101f", "status": "No reply received in time. Next query in 6 secs", "label": "NTP new", "timestamp_us": 1646732909080139, "clock_offset": 0 } }, { "_index": "ntp_statistics_short", "_type": "_doc", "_id": "55ed7a9c605ddf3dd39d3f74d23b8b8a", "_score": 1, "_source": { "type": "NtpStatistics", "protocol": "1.0", "@timestamp": "2022-03-08T09:50:58.597Z", "@version": "1", "proccessed_us": 1646733058597000, "mcm-version": "5.6.9rc5", "device": "2102d188-f7b1-4d6a-a8b4-1bd10653c31b", "uuid": "7d9021f8-7a35-487f-a8d3-78799637101f", "status": "Sending query", "label": "NTP new", "timestamp_us": 1646732900104875, "clock_offset": 0 } }, { "_index": "ntp_statistics_short", "_type": "_doc", "_id": "5d4d4d81b29aee3f3d4d7bf47770b17e", "_score": 1, "_source": { "type": "NtpStatistics", "protocol": "1.0", "@timestamp": "2022-03-08T09:50:57.595Z", "@version": "1", "proccessed_us": 1646733057595000, "mcm-version": "5.6.9rc5", "device": "2102d188-f7b1-4d6a-a8b4-1bd10653c31b", "uuid": "79aba7c7-d17b-4d4f-a54d-04a44132f563", "status": "Sending query", "label": "NTP", "timestamp_us": 1646732899101937, "clock_offset": 0 } } ] } }