Using Purview to get a list of visitors to a SharePoint site

As the title says, that’s what I want to do. This post is so I remember next time.

To do this, go to Purview and to the Audit solution. Select the record type as “SharePoint”. Activities as “Viewed page”. Set the data range. And in the Sites URL enter the URL with a * in the end. Example: https://<tenant><site>/*

Give it a name, and run the search.