Our next-gen architecture is built to help you make sense of your ever-growing data Watch a 4-min demo video!

Back to All Docs

GitLab Data Ingestion GitLab Data Ingestion

Last Updated: Mar. 30, 2022

Coralogix allows you to monitor who, when and what was accessed and modified on your GitLab repo. Using Coralogix alerts and visualizations you can get insights into the status of repo’s, and branches, and into activities like commits and pulls. Consolidating all logs into Coralogix allows you to view application and infrastructure logs in the context of GitLab’s when doing root-cause or impact analysis.     

Using webhooks you can easily connect to your GitLab account. The steps below are going to walk you through how to do so.

Generate your token

  1. Open in Coralogix: Settings -> Context Data Plugins
  2. Click on the GitLab tab.
  3. Click on the “+ADD NEW KEY”  button.
  4. Enter integration name in the pop-up window (it can be any name).
  5. The token will show up on the list.

Create GitLab webhook

  1. Log in to your GitLab account.
  2. If you do not have a project, you want to create it. If you have already done that, please move to the next step.
  3. On the left  top corner click on your projects and select your project.
create gitlab webhook

Select a project from your projects or click on “New project” to create a new project.

If you click on one of the existing projects you already have, a new screen will open. In this screen, you want to select settings and select webhooks.

select webhooks in settings

Complete the form based on the tables below and select the event you want to trigger the collection for.

 Cluster URLTeam URL
EUcoralogix.com.coralogix.com
INapp.coralogix.in.app.coralogix.in
USAcoralogix.us.app.coralogix.us
EU2eu2.coralogix.com.app.eu2.coralogix.com
SGcoralogixsg.com.app.coralogixsg.com
Payload URLApplication TypeSecret
https://integrations.cluster URL/v1/gitlab/v1/events/<token>application/jsonThis is the same as the token in the payload URL

If you like to specify the application name and subsystem name you can add them right after the token in the payload URL like the below example.

https://integrations.coralogix.com/v1/gitlab/v1/events/11111111-1111-1111-1111-111111111111?appName=MyApp&subSystem=MySubsystem

Make sure the URL endpoint corresponds with the top level domain of your account URL (.com, .in, .us). See table above.

webhooks configuration

Once you finish the configuration you want to click on add webhook.

You can also test your configuration and web-hook by clicking on test. If you get anything else besides 200 OK you might want to check the configuration.

add webhook test

On this page