@idhard opened this Issue on July 5th 2017

according this ticket #8458 now all api call results apply a limit of 100 records , but in the documentation https://piwik.org/faq/how-to/faq_24536/ it shown that you could specify the format_limit=-1 to get all the results , which is not longer possible .

Is the documentation outdated ? is not possible to get all the results anymore ?

thanks

@RMastop commented on July 5th 2017 Contributor

Hi @idhard,

It's a typo, use filter_limit in those cases.

Important note about high traffic Piwik servers

If you export a lot of data, for example more than 10,000 visits and their associated actions and clickstream, then the HTTP request above may take a long time or even time out (depending on your server and PHP settings). Therefore when you export a lot of data, we recommend that you only export 10,000 at a time and use our paging &filter_offset= feature. Here is how this works: to export the first 10,000 records, instead of filter_limit=-1 you would write filter_limit=10000&filter_offset=0. Then, to export the next dataset, you would write filter_limit=10000&filter_offset=10000. Then to export the next dataset, you will write filter_limit=10000&filter_offset=20000. You repeat this until there is no more result in the dataset.

@sgiehl commented on July 5th 2017 Member

thx @RMastop for answering this.

@RMastop commented on July 5th 2017 Contributor

@sgiehl do we need a separate ticket to edit this faq: https://piwik.org/faq/how-to/faq_24536/
Or is it already edited?

@sgiehl commented on July 5th 2017 Member

Sorry, guess the cache wasn't purged. The FAQ should be fixed now.

@RMastop commented on July 5th 2017 Contributor

fixed it is 👍

This Issue was closed on July 5th 2017
Powered by GitHub Issue Mirror