Skip to main content

Bitbucket

Bitbucket is a Git-based source code repository hosting service. This integration allows you to ship logs from your Bitbucket repository to your Logz.io account.

Before you begin, you'll need:

  • An active account with Bitbucket and a Bitbucket repository
  • An actie account with Logz.io

Open the Bitbucket repository

Log in to your Bitbucket account and navigate to the repository that you need to send logs from.

Open the Add new webhook page

Navigate to Repository Settings > Webhooks > Add webhook.

Fill out the Add new webhook page

  • In the Title field, enter logzio.

  • In the URL field, enter https://<<LISTENER-HOST>>:8071/?token=<<LOG-SHIPPING-TOKEN>>&&type=bitbucket. Replace <<LISTENER-HOST>> with the host for your region. The required port depends whether HTTP or HTTPS is used: HTTP = 8070, HTTPS = 8071.

  • Your Logz.io log shipping token directs the data securely to your Logz.io Log Management account. The default token is auto-populated in the examples when you're logged into the Logz.io app as an Admin. Manage your tokens.

  • In the Status section, enable Active.

  • Skip the SSL/TLS section.

  • In the Triggers section, select triggers that you would like to enable.

Save changes

When everything is filled out, click Save.

Check Logz.io for your logs

Give your logs some time to get from your system to ours, and then open Open Search Dashboards. You can search for type:bitbucket to filter for your BitBucket logs.

If you still don’t see your logs, see log shipping troubleshooting.