Generate Audit Logs Using GCS Lineage
To generate audit logs using GCS lineage, configure the following setting on the GCP Console to get the events in Google Logs Explorer.
Log on to Google Cloud Console and navigate to IAM Admin ->> Audit Logs
In the search bar, search for the "Google Cloud Storage" and then select the checkbox in the grid.
At right panel, in Google Cloud Storage dialog, select the Admin Read and Data Read checkboxes and click Save.
Perform the above step for all the projects where you will be executing GCS realtime scan and expecting lineage to be generated.
You can configure GCS lineage time using custom properties that are not included by default. See Discovery.