You can achieve that by using the API.
The analytics API service is called report.
To see some basic examples, please go to https://developer.kaltura.org/recipes/analytics
This API allows you to filter by category and also pass specific objectIds [entry IDs] you are interested in.
And so, you can pass something like:
$client = new KalturaClient($config);
$reportType = KalturaReportType::TOP_CONTENT;
// create a filter
$reportInputFilter = new KalturaReportInputFilter();
$reportInputFilter->fromDay = 20151001;
$reportInputFilter->toDay = 20151111;
$reportInputFilter->keywords = null;
// specific categories only:
$reportInputFilter->categories = ;
$pager = new KalturaFilterPager();
$order = null;
// specific entry IDs only, comma separated
$objectIds = '';
$result = $client->report->gettable($reportType, $reportInputFilter, $pager, $order, $objectIds);
The example above is in PHP but we have bindings to multiple langs, you can see a full list here:
You may also make some API queries using http://www.kaltura.com/api_v3/testme selecting ‘report’ as service, to learn the various options, it also generates a rough code snippet which you can later refine to actual function code.
This might also help you in that respect: