Skip to main content
August 23, 2007
Question

Logging: traffic calculation

  • August 23, 2007
  • 1 reply
  • 347 views
Hello everybody,

for accounting I need some infomation on the FMS access log data.

We need to bill our clients for Player traffic. In order to do that, is it a valid procedure to

1) extract all lines with an x-category of "stream" and an x-event of "stop" and
2) pick out the value of the sc-stream-bytes field

to get the traffic for a single stream hit, taking into account all pause and seek operations?

The documentation says:
"To calculate the bandwidth usage per stream, subtract the 'sc-stream-bytes' in the 'play' event by the 'sc-stream-bytes' in the 'stop' event.

It might get a little difficult to find the corresponding "stream/play" entry for a "stream/stop" event, especially if the entries are contained in different log files. Anyway, in all my testing I always got an "sc-stream-bytes" value of 0 for "stream/play" events. Under which circumstances can the value of this field be greater than 0?

Any help on this topic is appreciated.

Thanks
Stefan
    This topic has been closed for replies.

    1 reply

    Participant
    June 27, 2011

    *bump*

    Sorry to ressurect this old thread, but I have this exact question as well. In what cases will the sc-stream-bytes of a "play" event be non-zero?