Skip to content

How to get AWS IVS egress/output traffic

0

Speaking of IVS and HLS, is it possible to get the amount of traffic moved on live streamings via IVS, per channel? When serving a live streaming via CloudFront you can see all the outgoing traffing, and by analyzing raw logs you can calculate the exact traffic of live stream URLs. But IVS has its own CDN and I can't find any data about outgoing traffic. Is there anyone who can give me some information about this? Thanks in advance.

asked 2 years ago200 views

3 Answers
0

Thanks for the question on Amazon Interactive Video Service (IVS) stream monitoring.

There are several ways to obtain metrics for your streams. Discussion on basic IVS monitoring can be found at this, where CloudWatch is discussed. CloudWatch is a monitoring service that collects logs and status from AWS services. https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/stream-health.html

An enhanced ability for accessing logs uses Amazon EventBridge. This would be the more recommended method, since additional features are provided. https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/eventbridge.html https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html

Both CloudWatch and EventBridge will require applications that read and determine status for streams being monitored.

If a player app is being developed, the IVS Player SDK should be incorporated, which will allow the player to obtain certain stream metrics. There are specific version of the Player SDK for IOS, Android and Web apps. https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/player.html

AWS

answered 2 years ago

  • Thank you for your reply. I just looked on CloudWatch, but none of "OutputTraffic", "OutputBitrate" or "EgressBitrate" are available, you can only find metrics like "IngestBytrate" or "ConcurrentViews" (these data can only be used to make an estimate, but I would like real data like those I can get with cloudfront). Perhaps I missed something?

0

Unfortunately Amazon IVS access logs are not publicly available. The only metric that we have is LiveDeliveredTime that can be down to channel level based numbers:

Specifically:

It measures how many seconds of live video content was actually delivered to viewers
It is an aggregate metric across all viewers of a channel
It helps track actual content consumption/delivery

For example:

If 10 viewers each watch 1 minute of your stream
The LiveDeliveredTime would be 600 seconds (10 viewers × 60 seconds)

This metric is useful for:

Understanding actual content consumption
Billing calculations
Monitoring stream delivery performance
Usage tracking
AWS

answered 2 years ago

  • Thank you for your answer. I was aware of LiveDeliveredTime, however it only gives me information on the viewing time and not on the traffic actually transferred. Furthermore, if it were a track-level metric I could possibly make an estimate (even if imprecise), but being it a channel-level metric is not a sufficient parameter to obtain accurate data.

0

You are right this metric useful only for basic channel as it has only one stream in abr stack (https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html).

Did you consider to collect statistic from player itself. IVS player SDK has quality metrics: https://aws.github.io/amazon-ivs-player-docs/1.36.0/web/interfaces/Quality.html ?

AWS

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.