tableau / server-client-python

A Python library for the Tableau Server REST API
https://tableau.github.io/server-client-python/
MIT License
657 stars 422 forks source link

Custom usage statistics #731

Open paul23093 opened 3 years ago

paul23093 commented 3 years ago

Hi,

Coud you please suggest me how can I get view usage statistics not only for all the period, but also for last 1/3/12 months?

Thanks in advance, Pasha

geoevl commented 2 years ago

This is something we're also struggling with. The current statistic supported by the API gets less useful the longer you've had the server up and running. We have some workbooks that have been live for years and currently get 1/10th of the daily views that newer workbooks get, but because it's a cumulative number, this is completely hidden. In the browser, we almost always look at the last 1/3 months and it's really painful this is not supported by the API :/ And it feels completely unnecessary to have to snapshot these values daily and run daily diffs to get the actual usage. Obviously doable, but so unnecessary.