Logs on GitLab.com
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com
Information about logs on GitLab.com.
How GitLab.com creates logs
Fluentd parses GitLab logs, then sends them to:
- Stackdriver Logging, which stores logs long-term in Google Cold Storage (GCS).
- Cloud Pub/Sub,
which forwards logs to an Elastic cluster
using
pubsubbeat.
For more information, see GitLab runbooks for:
- A detailed list of what gets logged.
- Current log retention policies.
- A diagram of GitLab logging infrastructure.
Erase CI/CD job logs
By default, GitLab does not expire CI/CD job logs. Job logs are retained indefinitely, and can’t be configured on GitLab.com to expire. You can erase job logs by either:
- Using the Jobs API.
- Deleting the pipeline the job belongs to.