Export complete Audit


We have an installation with Audit entries reaching back to April 2019 yet when using "Download as json" we only get entries starting roughtly 2 months ago. How can we download complete auditlog JSON?


Alternatively - how can se search for particular changes type?

1 comment
Official comment

Hello Wojtek,

thank you for your question.

When you're downloading the Audit Events, only the last 1000 events are downloaded. If you need to get other events, you have these options:

1) Filter events right in the UI using these search queries: https://www.jetbrains.com/help/hub/Search-Query-Reference.html

2) Use the Hub REST API: https://www.jetbrains.com/help/hub/HUB-REST-API_Events_Get-All-Events.html

Add $skip and $top parameters to your REST API requests to iterate over packs of events. When you're downloading events as a JSON file from the UI, it sends a GET request to the /events?$top=1000 endpoint, which means that only the latest 1000 events are included in the response. If you add the $skip parameter, you'll be able to go over next packs of 1000 elements: /events?$skip=1000&$top=1000


Let us know if we can help you any further, we'll be happy to help.

Please sign in to leave a comment.