Capture GitHub events to:
- Track issues and PRs opened by your customers
- Track new features from code changes
- Identify when new code changes lead to system alerts or build failures
Ship Github Events to Logz.io
Before you begin, you’ll need: Admin permissions to the GitHub project
Add a webhook to your GitHub project
Open your GitHub project. On your project page, go to Setting > Webhooks and select Add webhook.
Add your payload url
For the Payload url, use either of the following formats. You can send your data encrypted via HTTPS, or unencrypted, via HTTP:
For HTTPS shipping
For HTTP shipping
<<LOG-SHIPPING-TOKEN>> with the token of the account you want to ship to.
<<LISTENER-HOST>> with the host for your region. For example,
listener.logz.io if your account is hosted on AWS US East, or
listener-nl.logz.io if hosted on Azure West Europe.
Configure your webhook
Complete filling in the form:
- Content Type: Select application/json.
- Secret: Leave it blank. Your Logz.io account token is used to securely route your logs to your account.
- SSL verification: We recommend enabling SSL verification.
- Select your event triggers. The options available are:
- Just the push event
- Send me everything
- Let me select individual events. A checklist will appear for you to make your selections.
- Active. Make sure this checkbox is enabled.
- Click Add webhook to save your webhook.
Check Logz.io for your logs
Give your logs some time to get from your system to ours, and then open Kibana. Search for
type:github in Kibana Discover to filter for your GitHub events. Your logs should be already parsed thanks to the Logz.io preconfigured parsing pipeline.
If you still don’t see your logs, see log shipping troubleshooting.