Understand how to export your Mux data into your own data warehouse for processing and analysis.
Some data, such as completed Video Views and Live Stream Input Health, can be exported from Mux services for aggregation and reporting in your data infrastructure. Video Views are available individually using the API or in bulk with the export methods: daily CSV exports or streaming exports. Live Stream Input Health is available using Streaming Exports.
Daily CSV and Streaming Exports are available on select plans, such as Mux Data Media.
Full Video View data daily exports are available via the API.
Use this API to get a list of CSV files available for download. Files are available to download for seven days after they are generated. Each CSV file is a single day of data and includes every single dimension collected by Mux,for each single video view. Please refer to the Data export documentation for more detail about the Video View CSV exports and the fields that are included.
Mux supports the streaming export of multiple data sets to an Amazon Kinesis Data Stream or Google Cloud Pub/Sub topic in your cloud account. Data is sent to Kinesis or Pub/Sub as the data becomes available: either as the event occurs or a defined interval.
Please refer to the guide for the specific data you are exporting for more information about when the data is exported and the format of the messages.
The exported data can be stored in your long-term storage for aggregation and reporting. This method of access is most useful for customers who want to update metrics on a rolling basis throughout the day or are embedding metrics in a user-facing application feature and need faster updates than once per day.
Streaming exports can be configured in the Streaming Exports settings in your Mux dashboard. See the setup guide for your desired platform for more information on setting up an export:
Messages are formatted using Protobuf (proto2) encoding. Every message uses the format specified in the Protobuf spec for the data being exported, which is available in the mux-protobuf repository. Use the latest Protobuf spec when creating schemas or generating code.