This collection of scripts uses media data logged into Logstash / Elasticsearch to compute download and user statistics.
We've made this repo public so that we can share the methodology we're using to compute the stats, but these scripts themselves won't really be any use to you without access to our production data.
- Node.js 0.10
- VPN access to logstash.i.scprdev.org (Datacenter Network)
npm install -g scpr/scpr-media-scripts
Downloads by show by day. Produces a CSV with shows and dates.
Accepts start
and end
parameters for date range. Optionally
can be given a show
parameter to return data only for one show.
NOTE: Accepts type
parameter with values of podcast
(default)
or ondemand
, but ondemand
is currently broken since we don't set
a UUID for non-podcast downloads.