While looking at the SLA report email, I thought that the number of PageViews on one of our applications was the highest we had seen. I managed to write a nested query to return the event data to confirm my suspicions. I was then looking at how to present this information for all applications. Unfortunately, I could not seem to get a query working.
The initial query returns the maximum number of PageViews and the week.
SELECT max(page_hits) FROM (SELECT count(*) AS page_hits FROM PageView WHERE appName='xxxxxx' FACET weekOf(timestamp)) FACET weekOf(timestamp) since 12 months ago limit max
I haven’t figured out a way to get multiple rows for each Browser application. Anyone able to help me get the results?