How to Gitlab logs and API traces in a locally hosted environment

How to Gitlab logs and API traces in a locally hosted environment

No, even GitLab users with administrator role cant pull logs remotely via API calls or through the Admin Area. Some limited error logs may appear in the admin UI (like sidekiq errors), but theres not much of anything ordinary users can see in the UI or API or otherwise. You are more or less limited to the information returned in the HTTP response.

In general, you need system (shell) level access to the GitLab server see the logs — or access to wherever your GitLab logs are stored (syslog server, server filesystem, etc.).

See log system for more information.

If your instance has remote monitoring setup (many companies use services like splunk and sentry to capture logs and error, for example) and you have access to those systems, you might be able to find logs that way.

Unfortunately, you may not have any good options here other than to contact your GitLab administrator for help or try to continue debugging on the client side of your issue.

No, even GitLab users with administrator role cant pull logs remotely via API calls or through the Admin Area. Some limited error logs may appear in the admin UI (like sidekiq errors), but theres not much of anything ordinary users can see in the UI or API or otherwise. You are more or less limited to the information returned in the HTTP response.

In general, you need system (shell) level access to the GitLab server see the logs — or access to wherever your GitLab logs are stored (syslog server, server filesystem, etc.).

See log system for more information.

If your instance has remote monitoring setup (many companies use services like splunk and sentry to capture logs and error, for example) and you have access to those systems, you might be able to find logs that way.

Unfortunately, you may not have any good options here other than to contact your GitLab administrator for help or try to continue debugging on the client side of your issue.

How to Gitlab logs and API traces in a locally hosted environment

Leave a Reply

Your email address will not be published. Required fields are marked *