Retrieves a compressed (.gz) log file that contains a range of log
messages for a particular host in an Atlas cluster.

Process and audit logs
are updated from the cluster backend infrastructure every five minutes
and contain log data from the previous five minutes. If you are polling
the API for log files, polling every five minutes is recommended.

Example

If the logs are updated at 4:00 UTC and then you poll the API, the
API returns log data from the interval between 3:55 UTC and 4:00 UTC.

Groups and projects are synonymous terms. Your {GROUP-ID} is the
same as your project ID. For existing groups, your group/project ID
remains the same. The resource and corresponding endpoints use the
term groups.

Important

You must be an owner of the project that the cluster belongs to in
order to retrieve the log.