v5.0_Output Status

GET es/encoder_statistics_short/_search

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Return the output status through elastic search.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/outputs/status

Example Request

GET

  1. https://192.168.0.22/es/encoder_statistics_short/_search

{     "took": 930,     "timed_out": false,     "_shards": {         "total": 1,         "successful": 1,         "skipped": 0,         "failed": 0     },     "hits": {         "total": {             "value": 1,             "relation": "eq"         },         "max_score": 1,         "hits": [             {                 "_index": "encoder_statistics_short",                 "_type": "_doc",                 "_id": "1e02fc501c83fd6b98d7627c7c7cb6d9",                 "_score": 1,                 "_source": {                     "type": "EncoderStatistics",                     "statistics": {                         "encoded_linear": 0,                         "rendered": 25,                         "active_sources": 0,                         "encoded": 25                     },                     "device": "f0fd7753-5843-43a3-acf7-eaf8065f8010",                     "@timestamp": "2021-09-19T15:51:50.450Z",                     "label": "new_encoder",                     "@version": "1",                     "timestamp_us": 1632066710480705,                     "layout": {                         "label": null,                         "uuid": null                     },                     "senders": [                         {                             "failed_bitrate": 0,                             "sender": "cac30a7f-c15a-4e6c-922c-adeebc0fc328",                             "video_bitrate": 2097576,                             "networks": [],                             "stream_type": "MPEG-TS",                             "total_bitrate": 0                         }                     ],                     "mcm-version": "5.5.6",                     "proccessed_us": 1632066710450000,                     "uuid": "2d2051f9-cdd9-4fd4-8572-0d04f2adfe7d",                     "protocol": "1.0"                 }             }         ]     } }