Statistical Data Request

Hi All,

Would it be possible to takeout the following statistical data from gitlab.

  1. Number of projects hosted on gitlab that are configured with GitLab Pages.
  2. Number of “pages” hosted within each of the above projects.
  3. Any information regarding the number of users who access these sites and or the number of hits / visits to these sites.

As we have 1000s of project so its been difficult to takeout the info.

You can probably use the gitlab pages api to check if a project has any pages settings, see the docs: Pages API | GitLab

As for who visits the sites, you will have to use something like awstats to parse your Gitlab log files on your Gitlab server. Or some other solution that parses web logs.

If you are asking about this for gitlab.com, then you can probably use the API, but you won’t be able to parse web logs.

1 Like

This post from @gitlab-greg goes into a bit more detail but pretty much confirms what I wrote:

2 Likes