How to search statistic hits ?
To search statistic hits, you can do a get request with filters on date, hit type...
GET /api/stat/search/hit?fq=type:view
return all view statistics (Type possible values : view, connection, download, upload, play and search)GET /api/stat/search/hit?fq=type:view&fq=date:[2018-12-10 TO 2018-10-11]
return all view statistics between two datesGET /api/stat/search/hit?fq=type:view&fq=mediaId:12
return all view statistics for a mediaGET /api/stat/search/hit?fq=type:view&fq=folderId:(12 15)
return all view statistics on media in folders with id 12 or 15GET /api/stat/search/hit?fq=type:view&fq=folderId:(12 15) subtree
return all view statistics on media in folders with id 12 or 15 ans theirs sub foldersGET /api/stat/search/hit?fq=type:view&fq=profileId:(2 5)
return all view statistics generate by users in profiles with id 2 or 5GET /api/stat/search/hit?fq=type:view&fq=userId:(2 5)
return all view statistics generate by users with id 2 or 5GET /api/stat/search/hit?fq=type:view&fq=formId:(1 2)
return all view statistics on media with metamodel id 1 or 2GET /api/stat/search/hit?fq=type:view&fq=interface:(0 1)
return all view statistics generate from back office (id 0) or front with id 1GET /api/stat/search/hit?fq=type:view&fq=referrer:direct
return all view statistics without referrerGET /api/stat/search/hit?fq=type:view&fq=referrer:external
return all view statistics with external referrerGET /api/stat/search/hit?fq=type:view&fq=referrer:domain:keepeek
return all view statistics with 'keepeek' in domain referrerGET /api/stat/search/hit?fq=type:search&fq=success:true
return all search statistics that returns at least one resultGET /api/stat/search/hit?fq=type:search&fq=searchType:(text advanced)
return all text and advanced searches statistics (Search type possible values : text, folder, advanced, kpk360, form, list, geoloc and individual)